DEV Community 👩‍💻👨‍💻

Cover image for Node.js v19.0.0 --watch option
Sabbir Sobhani
Sabbir Sobhani

Posted on

Node.js v19.0.0 --watch option

short

Node has released their 19th version. Many important new additions have been made in this version. One addition I find very interesting.

We have been using nodemon to watch script changes for a long time. Now, we don't have to rely on this third party library. Because, Node.js has just added --watch option in their new version, which will work exactly like nodemon. CMD node --watch [your-file-name]. Example: node --watch app.mjs

Follow me on Twitter

Top comments (1)

Collapse
 
paulbrowne profile image
paulbrowne

Nice. 👍

Become a Moderator Do you want us to help make DEV a better place?

Fill out this survey and help us by becoming a tag moderator here at DEV.