diff --git a/bin/nodemon.js b/bin/nodemon.js index 3867539..6e6f079 100755 --- a/bin/nodemon.js +++ b/bin/nodemon.js @@ -3,8 +3,9 @@ var cli = require('../lib/cli'), nodemon = require('../lib/'), updateNotifier = require('update-notifier'), + pkg = require('../package.json'), // checks for available update and returns an instance - notifier = updateNotifier({ packagePath: '../package' }); + notifier = updateNotifier({ pkg: pkg }); if (notifier.update) { // notify using the built-in convenience method