File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/cli/src/commands/server Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ function printWatchModeInstructions() {
99}
1010
1111function enableWatchMode ( messageSocket : any ) {
12- readline . emitKeypressEvents ( process . stdin ) ;
13-
1412 // We need to set this to true to catch key presses individually.
1513 // As a result we have to implement our own method for exiting
1614 // and other commands (e.g. ctrl+c & ctrl+z)
1715 if ( ! process . stdin . setRawMode ) {
18- logger . log ( 'Watch mode is not supported in this environment' ) ;
16+ logger . debug ( 'Watch mode is not supported in this environment' ) ;
1917 return ;
2018 }
2119
20+ readline . emitKeypressEvents ( process . stdin ) ;
21+
2222 process . stdin . setRawMode ( true ) ;
2323
2424 // We have no way of knowing when the dependency graph is done loading
You can’t perform that action at this time.
0 commit comments