Comparing version 0.5.5 to 0.5.6
@@ -10,3 +10,3 @@ #!/usr/bin/env node | ||
flag = './.monitor', | ||
nodeArgs = process.ARGV.splice(2), // removes 'node' and this script | ||
nodeArgs = process.argv.splice(2), // removes 'node' and this script | ||
app = nodeArgs[0], | ||
@@ -119,3 +119,6 @@ node = null, | ||
function readIgnoreFile() { | ||
function readIgnoreFile(curr, prev) { | ||
// unless the ignore file was actually modified, do no re-read it | ||
if(curr && prev && curr.mtime.valueOf() === prev.mtime.valueOf()) return; | ||
fs.unwatchFile(ignoreFilePath); | ||
@@ -122,0 +125,0 @@ |
@@ -12,5 +12,5 @@ { | ||
"keywords": ["monitor", "development", "restart", "autoload", "reload", "terminal"], | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"preferGlobal" : "true", | ||
"main": "./nodemon" | ||
} |
13306
260
4