nodemon
all
Watch files and automatically restart a node application when changes are detected.
More info →Options (2)
-i, --ignorebooleanIgnore specific files
Example:
nodemon {{[-i|--ignore]}} {{path/to/file_or_directory}}-x, --execbooleanRun an arbitrary non-node script
Example:
nodemon {{[-x|--exec]}} "{{command_to_run_script}} {{options}}" {{path/to/script}}Examples (7)
Execute the specified file and watch a specific file for changes
nodemon path/to/file.jsManually restart nodemon (note nodemon must already be active for this to work)
rsIgnore specific files
nodemon [-i|--ignore] path/to/file_or_directoryPass arguments to the node application
nodemon path/to/file.js argumentsPass arguments to node itself if they're not nodemon arguments already (e.g. `--inspect`)
nodemon arguments path/to/file.jsRun an arbitrary non-node script
nodemon [-x|--exec] "command_to_run_script options" path/to/scriptRun a Python script
nodemon [-x|--exec] "python options" path/to/file.pymade by @shridhargupta | data from tldr-pages