diff options
author | rohan09-raj <rajrohan1914@gmail.com> | 2023-01-29 19:54:07 +0530 |
---|---|---|
committer | rohan09-raj <rajrohan1914@gmail.com> | 2023-01-29 19:54:07 +0530 |
commit | 54d26f03666dd8dc457bd66403d9badd42509296 (patch) | |
tree | 9fdca2caf4b624b95fbaf0153a6e0f3ac435280e /server/.yarn/unplugged/nodemon-npm-2.0.19-5d6fa595c6/node_modules/nodemon/bin/nodemon.js | |
parent | ec8bb132218c1295f1a599c88454f682aba2409f (diff) |
update the repo
Diffstat (limited to 'server/.yarn/unplugged/nodemon-npm-2.0.19-5d6fa595c6/node_modules/nodemon/bin/nodemon.js')
-rwxr-xr-x | server/.yarn/unplugged/nodemon-npm-2.0.19-5d6fa595c6/node_modules/nodemon/bin/nodemon.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/server/.yarn/unplugged/nodemon-npm-2.0.19-5d6fa595c6/node_modules/nodemon/bin/nodemon.js b/server/.yarn/unplugged/nodemon-npm-2.0.19-5d6fa595c6/node_modules/nodemon/bin/nodemon.js new file mode 100755 index 0000000..3d490f1 --- /dev/null +++ b/server/.yarn/unplugged/nodemon-npm-2.0.19-5d6fa595c6/node_modules/nodemon/bin/nodemon.js @@ -0,0 +1,16 @@ +#!/usr/bin/env node + +const cli = require('../lib/cli'); +const nodemon = require('../lib/'); +const options = cli.parse(process.argv); + +nodemon(options); + +const fs = require('fs'); + +// checks for available update and returns an instance +const pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json')); + +if (pkg.version.indexOf('0.0.0') !== 0 && options.noUpdateNotifier !== true) { + require('simple-update-notifier')({ pkg }); +} |