Faster NodeJS development with nodemon

• ~100 words • 0.5 minute read

I'm developing an application using NodeJS and Express. I've only recently discovered nodemon:

Long story short, if you're developing a node application you should be using nodemon. I was still manually stopping and restarting my server like a dumb-ass.

You use it like this:

nodemon server.js

Now this script will watch every JavaScript file in your folder and reboot the file you pass as a parameter — in this case server.js — if any of them change.


It's also worth reading the documentation to learn about some of the other features, including running non-node scripts.

This could've save me oodles of time.