Comparing version 0.2.1 to 0.2.2
@@ -1,2 +0,2 @@ | ||
#!/usr/local/bin/node | ||
#!/usr/bin/env node | ||
var fs = require('fs'), | ||
@@ -114,3 +114,3 @@ sys = require('sys'), | ||
function usage() { | ||
sys.print('usage: nodemon [your node app]\ne.g.: nodemon ./server.js localhost 8080\nFor details see http://github.com/remy/nodemon/\n\n'); | ||
sys.print('usage: nodemon [--debug] [your node app]\ne.g.: nodemon ./server.js localhost 8080\nFor details see http://github.com/remy/nodemon/\n\n'); | ||
} | ||
@@ -129,2 +129,7 @@ | ||
if (nodeArgs[0] == '--debug') { | ||
app = nodeArgs[1]; | ||
} | ||
sys.log('[nodemon] v' + meta.version); | ||
@@ -131,0 +136,0 @@ |
@@ -12,4 +12,4 @@ { | ||
"keywords": ["monitor", "development", "restart", "autoload", "reload", "terminal"], | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"main": "./nodemon" | ||
} |
7111
4