nodemon
automatically restarts Node
TLDR
Watch and restart Node app
$ nodemon [app.js]
Watch specific extensions$ nodemon -e [js,json] [app.js]
Watch specific directory$ nodemon --watch [src/] [app.js]
Ignore files$ nodemon --ignore [test/] [app.js]
Execute with different runtime$ nodemon --exec [ts-node] [app.ts]
Delay restart$ nodemon --delay [2] [app.js]
Use config file$ nodemon --config [nodemon.json]
SYNOPSIS
nodemon [options] [script] [args]
DESCRIPTION
nodemon automatically restarts Node.js applications. Watches for file changes.
The tool aids development. Restarts on save without manual intervention.
PARAMETERS
SCRIPT
Script to run.-e EXT
File extensions to watch.--watch DIR
Directories to watch.--ignore PATTERN
Patterns to ignore.--exec CMD
Execution command.--delay SECS
Restart delay.--help
Display help information.
CAVEATS
Development tool. Not for production. Watches file system.
HISTORY
nodemon was created by Remy Sharp to improve Node.js development workflow.
