Nodemon
ELI5 — The Vibe Check
Nodemon watches your files and restarts your server every time you save. Without it, you'd be manually stopping and starting your server hundreds of times a day like some kind of animal. It's the first dev tool every Node.js developer installs.
Real Talk
Nodemon is a development utility that monitors file changes in a Node.js application and automatically restarts the process. It supports custom watch directories, file extensions, delay timers, and ignore patterns. It's strictly a development tool and should not be used in production.
Show Me The Code
# Instead of: node server.js
nodemon server.js
# Watch specific extensions
nodemon --ext js,ts,json server.ts
When You'll Hear This
"Install nodemon so you don't have to restart the server after every change." / "Nodemon keeps restarting because you have a syntax error — check your code."
Related Terms
Hot Reload
Hot reload updates your running app when you change code without restarting the whole server. Edit a file, save, and see the change instantly.
Node.js
Node.js lets you run JavaScript on the server — not just in the browser. Before Node.js, JavaScript was trapped in the browser.
PM2
PM2 is the most popular process manager for Node.js.