From 1d4638fe462ef90e539bcad26eaf74af2c1866ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Samuel=20Hern=C3=A1ndez?= Date: Fri, 21 Oct 2022 13:16:29 -0400 Subject: [PATCH] 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 --- .../107-nodejs/content/108-nodejs-keep-app-running/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/roadmaps/107-nodejs/content/108-nodejs-keep-app-running/readme.md b/content/roadmaps/107-nodejs/content/108-nodejs-keep-app-running/readme.md index 205a52193..b1f97fa51 100644 --- a/content/roadmaps/107-nodejs/content/108-nodejs-keep-app-running/readme.md +++ b/content/roadmaps/107-nodejs/content/108-nodejs-keep-app-running/readme.md @@ -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).