diff --git a/lib/monitor/run.js b/lib/monitor/run.js index cd143477..4b2c0652 100644 --- a/lib/monitor/run.js +++ b/lib/monitor/run.js @@ -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;