diff --git a/lib/nodemon.js b/lib/nodemon.js index c62a660..8531107 100644 --- a/lib/nodemon.js +++ b/lib/nodemon.js @@ -94,7 +94,7 @@ function nodemon(settings) { bus.emit('restart'); } }); - } else { + } else if (config.options.stdin) { // if 'restartable' is disabled (via a nodemon.json) // then it's possible we're being used with a REPL // so let's make sure we don't eat the key presses