mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user