Files
archived-nodemon/bin/nodemon.js
Remy Sharp 13770da9f3 Fixed nodemon.once. Add config.run. Tests not 100% passing
Something weird is happening with required nodemon and re-running lots of times, that somehow resets the config. I know it's due to my tests, but I'm unsure which one is actually causing the damn issue. Anyway, bed for me, it's almost 2am. Sod this for a game of cricket.
2014-01-05 01:42:37 +00:00

16 lines
426 B
JavaScript
Executable File

#!/usr/bin/env node
'use strict';
var cli = require('../lib/cli'),
nodemon = require('../lib/'),
updateNotifier = require('update-notifier'),
// checks for available update and returns an instance
notifier = updateNotifier({ packagePath: '../package' });
if (notifier.update) {
// notify using the built-in convenience method
notifier.notify();
}
var options = cli.parse(process.argv);
nodemon(options);