

Support this project by becoming a sponsor.

See the FAQ and please add your own questions if you think they would help others. Nodemon is not perfect, and CLI arguments has sprawled beyond where I'm completely happy, but perhaps it can be reduced a little one day. Let individuals build on top of nodemon.

All answers are correct :) Design principles The answer is simple, but possibly frustrating. There's been bets as to which one it actually is.

Well.I've been asked this many times before. Nodemon, is it pronounced: node-mon, no-demon or node-e-mon (like pokémon)? Using nodemon in your Grunt workflowĬheck out the grunt-nodemon plugin to integrate nodemon with the rest of your project's grunt workflow. Nodemon ( ) Using nodemon in your gulp workflowĬheck out the gulp-nodemon plugin to integrate nodemon with the rest of your project's gulp workflow. The specificity is as follows, so that a command line argument will always override the config file settings:Ī config file can take any of the command line arguments as JSON key values, for example: An alternative local configuration file can be specified with the -config option. These are usually named nodemon.json and can be located in the current working directory or in your home directory. Nodemon supports local and global configuration files. Whilst nodemon is running, if you need to manually restart your application, instead of stopping and restart nodemon, you can type rs with a carriage return, and nodemon will restart your process. If your script exits cleanly, nodemon will continue to monitor the directory (or directories) and restart the script if there are any changes. Nodemon was originally written to restart hanging processes such as web servers, but now supports apps that cleanly exit. Nodemon will also search for the scripts.start property in package.json (as of nodemon 1.1.x).Īlso check out the FAQ or issues for nodemon. If you have a package.json file for your app, you can omit the main script entirely and nodemon will read the package.json for the main property and use that value as the app ( ref).
