Skip to content

Commit

Permalink
chore: Merge branch 'byteclubfr-feat-no-restartable'
Browse files Browse the repository at this point in the history
* byteclubfr-feat-no-restartable:
  fix(stdin): don't watch for 'rs' when --no-stdin is provided
  • Loading branch information
remy committed Apr 29, 2016
2 parents 6ccb298 + bded0ac commit 72a3b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nodemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function nodemon(settings) {
});

// echo out notices about running state
if (config.options.restartable) {
if (config.options.stdin && config.options.restartable) {
// allow nodemon to restart when the use types 'rs\n'
process.stdin.resume();
process.stdin.setEncoding('utf8');
Expand Down

0 comments on commit 72a3b35

Please sign in to comment.