@nagisa 
Actually, I did this because if the preview server is disabled via the command flag the main thread dies which causes the watch server to die.