Skip to content

Commit

Permalink
Fixed reading package from the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Oct 5, 2010
1 parent 4fe2c12 commit 6e26fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodemon
Expand Up @@ -3,7 +3,7 @@
var fs = require('fs'),
sys = require('sys'),
spawn = require('child_process').spawn,
meta = JSON.parse(fs.readFileSync('package.json')),
meta = JSON.parse(fs.readFileSync(__dirname + '/package.json')),
exec = require('child_process').exec,
flag = __dirname + '/.monitor',
nodeArgs = process.ARGV.splice(2),
Expand Down

0 comments on commit 6e26fd3

Please sign in to comment.