mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
Needs careful testing in linux and windows. Also fixed #204 but requires config file to set `restartable` to false, since there's so many options to configure stdin and this particular case has narrow use.
19 lines
468 B
JavaScript
Executable File
19 lines
468 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
var cli = require('../lib/cli'),
|
|
nodemon = require('../lib/');
|
|
// updateNotifier = require('update-notifier'),
|
|
// checks for available update and returns an instance
|
|
// notifier = updateNotifier({
|
|
// packagePath: '../'
|
|
// });
|
|
|
|
// if (notifier.update) {
|
|
// // notify using the built-in convenience method
|
|
// notifier.notify();
|
|
// }
|
|
|
|
var options = cli.parse(process.argv);
|
|
options.restartable = 'rs';
|
|
|
|
nodemon(options); |