From 87a8a2c5312513aff6904fe992c931a23d74a871 Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Fri, 29 Mar 2013 18:56:06 -0400 Subject: [PATCH] Fix #156 - dont wait for children to die on windows platform --- nodemon.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemon.js b/nodemon.js index ddbd958..3c982d5 100755 --- a/nodemon.js +++ b/nodemon.js @@ -721,7 +721,7 @@ if (!isWindows) { // because windows borks when listening for the SIG* events process.exit(0); }; - if (child) { + if (child && !isWindows) { child.removeAllListeners('exit'); child.on('exit', exit); child.kill('SIGINT'); diff --git a/package.json b/package.json index c61cdc3..7ad005c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "repository": { "type" : "git", "url" : "http://github.com/remy/nodemon.git" }, "description": "Simple monitor script for use during development of a node.js app.", "keywords": ["monitor", "development", "restart", "autoload", "reload", "terminal"], - "version": "0.7.4", + "version": "0.7.5", "preferGlobal" : "true", "licenses": [{ "type": "MIT",