mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
Fixed reading package from the right place
This commit is contained in:
2
nodemon
2
nodemon
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user