Node.js 108: Keep App Running (new --watch option) (#2508)

* Node.js 108: Keep App Alive (new --watch option)

* Delete non-necessary link

* Update content/roadmaps/107-nodejs/content/108-nodejs-keep-app-running/readme.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Carlos Samuel Hernández
2022-10-21 22:16:29 +05:00
committed by GitHub
co-authored by Kamran Ahmed
parent 7b3ad47415
commit 1d4638fe46
@@ -1,3 +1,6 @@
# Keep App Running
In Node.js, you need to restart the process to make changes take effect. This adds an extra step to your workflow. You can eliminate this extra step by using `nodemon` to restart the process automatically.
Since Node.js 18.11.0, you can run Node with the `--watch` flag to reload your app everytime a file is changed. So you don't need to use `nodemon` anymore.
[Node.js 18.11.0 Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.11.0).