.
This commit is contained in:
		
							
								
								
									
										16
									
								
								qwen/nodejs/node_modules/nodemon/bin/nodemon.js
									
									
									
										generated
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										16
									
								
								qwen/nodejs/node_modules/nodemon/bin/nodemon.js
									
									
									
										generated
									
									
										vendored
									
									
										Executable file
									
								
							@@ -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 });
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user