#277: option/watch: add a new private option `main-cwd` to mark the master cwd of the watcher
#277: command/watch: --entry-cwd option for cortex build
fixes #277: command/build, command/install: server_mode off