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
node --watch [your-file-name]. Example:
node --watch app.mjs