Comparing version 0.1.5 to 0.1.6
@@ -19,3 +19,3 @@ { | ||
"keywords": ["supervisor", "restart", "reload", "auto-reload"], | ||
"version": "0.1.5" | ||
"version": "0.1.6" | ||
} |
@@ -23,3 +23,3 @@ About | ||
npm install -g node-dev | ||
npm install node-dev | ||
@@ -26,0 +26,0 @@ This will add the `node-dev` executable to your PATH. |
@@ -18,3 +18,3 @@ /** | ||
if (!module.loaded) { | ||
fs.watchFile(module.filename, {interval : 500}, function(cur, prev) { | ||
fs.watchFile(module.filename, {interval : 500, persistent: false}, function(cur, prev) { | ||
if (cur && +cur.mtime !== +prev.mtime) { | ||
@@ -57,2 +57,3 @@ process.exit(101); | ||
module.parent = null; | ||
process.mainModule = module; | ||
} | ||
@@ -59,0 +60,0 @@ watch(module); |
Sorry, the diff of this file is not supported yet
19453
59