Adding a watch command

* started the watch command in another thread so that it could run in the background.

* added a polling loop for enter so that the main thread doesn't die immediately.

* Tested with the -previewServer flag disabled