Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/9/en/part9b.md
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ Let's rename the *req* variable to *_req*. Finally, we are ready to start the ap

![browser result showing pong on /ping](../../images/9/11a.png)

To simplify the development, we should enable *auto-reloading* to improve our workflow. In this course, you have already used *nodemon*, but ts-node has an alternative called *ts-node-dev*. It is meant to be used only with a development environment that takes care of recompilation on every change, so restarting the application won't be necessary.
To simplify the development, we should enable *auto-reloading* to improve our workflow. In this course, we have started backends by running *node --watch server.js*, but ts-node does not support the *--watch* argument. Instead, we will use an alternative called *ts-node-dev*. It is meant to be used only with a development environment that takes care of recompilation on every change, so restarting the application won't be necessary.

Let's install *ts-node-dev* to our development dependencies:

Expand Down