| name | nodemon |
| description | Use this skill when the user wants to auto-restart Node.js applications on file changes. |
Nodemon Plugin
Monitor for changes and automatically restart Node.js applications.
Commands
Application Monitoring
nodemon script watch — Watch and restart Node.js application
Usage Examples
- "nodemon script watch --script index.js"
- "nodemon script watch --script index.js --watch src/"
Installation
npm install -g nodemon
Examples
nodemon
nodemon index.js
nodemon --watch src
nodemon --ext js,json
nodemon --ignore lib
nodemon --exec babel-node
nodemon --delay 2
nodemon -V
nodemon --config nodemon.json
Key Features
- Automatic restart on file changes
- Customizable watch patterns
- File extension filtering
- Ignore patterns
- Custom execution commands
- Configurable via nodemon.json
- Development-only tool