Fixed extension watching and fixed perf bug in check

Needs careful testing in linux and windows.

Also fixed #204 but requires config file to set `restartable` to false, since there's so many options to configure stdin and this particular case has narrow use.