mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
Only read stdin if option says so
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user