Comparing version 0.5.0 to 0.5.1
@@ -192,2 +192,3 @@ #!/usr/bin/env node | ||
nodeArgs.splice(i, 2); // remove the delay from the arguments | ||
app = nodeArgs[0]; | ||
if (delay) { | ||
@@ -237,3 +238,4 @@ sys.log('[nodemon] Adding delay of ' + delay + ' seconds'); | ||
app = path.basename(app); | ||
sys.log('[nodemon] running ' + app + ' in ' + process.cwd()); | ||
sys.log('\x1B[32m[nodemon] watching: ' + process.cwd() + '\x1B[0m'); | ||
sys.log('[nodemon] running ' + app); | ||
@@ -240,0 +242,0 @@ startNode(); |
@@ -12,5 +12,5 @@ { | ||
"keywords": ["monitor", "development", "restart", "autoload", "reload", "terminal"], | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"preferGlobal" : "true", | ||
"main": "./nodemon" | ||
} |
@@ -5,3 +5,3 @@ # nodemon | ||
`nodemon` will watch all the files in the directory that `nodemon` was started, and if they change, it will automatically restart your node application. | ||
`nodemon` will watch the files in the directory that `nodemon` was started, and if they change, it will automatically restart your node application. | ||
@@ -8,0 +8,0 @@ `nodemon` does **not** require *any* changes to your code or method of development. `nodemon` simply wraps your node application and keeps an eye on any files that have changed. |
12828
247