Moved nodemon to USRSIG2 as node 0.3.7 is using the USRSIG1 to trigger the debugger...which sucks for me - but now we're all fixed and working again - yay!

This commit is contained in:
remy
2011-02-03 17:03:14 +00:00
parent c5ef29d200
commit ed8cefb4a2
2 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ function startNode() {
node.on('exit', function (code, signal) {
// exit the monitor, but do it gracefully
if (signal == 'SIGUSR1') {
if (signal == 'SIGUSR2') {
// restart
startNode();
} else {
@@ -69,7 +69,7 @@ function startMonitor() {
sys.print('\n\n');
if (node !== null) {
node.kill('SIGUSR1');
node.kill('SIGUSR2');
} else {
startNode();
}

View File

@@ -5,10 +5,10 @@
"name": "Remy Sharp",
"url": "http://github.com/remy"
},
"bin": { "nodemon" : "./nodemon" },
"bin": { "nodemon" : "./nodemon.js" },
"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.1.8",
"version": "0.2.0",
"main": "./nodemon"
}