1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 20:49:49 +02:00

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 13:16:29 -04:00
committed by GitHub
parent 7b3ad47415
commit 1d4638fe46

View File

@@ -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).