Skip to content

Commit

Permalink
fix: restart on change for non-default signals (remy#1409)
Browse files Browse the repository at this point in the history
Fixes remy#1409
  • Loading branch information
aaronjensen committed Nov 2, 2018
1 parent 3afa52c commit 64aacfb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/monitor/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,9 @@ function run(options) {
process.stdin.unpipe(child.stdin);
}

if (utils.isWindows) {
// For the on('exit', ...) handler above the following looks like a
// crash, so we set the killedAfterChange flag
killedAfterChange = true;
}
// For the on('exit', ...) handler above the following looks like a
// crash, so we set the killedAfterChange flag
killedAfterChange = true;

/* Now kill the entire subtree of processes belonging to nodemon */
var oldPid = child.pid;
Expand Down

0 comments on commit 64aacfb

Please sign in to comment.