Set Up Hot-Module Replacement
Explore how to build and run the app and enable Hot-Module Replacement (HMR).
HMR
In this lesson, we’ll delve into HMR in NestJS. HMR is a development tool that can significantly enhance developer workflow by allowing real-time updates to the application as we make changes. We’ll learn how HMR works, how to implement it in projects, and how it can expedite the development process.
Development mode
After we start the dev server, it will watch for source file changes. When we save a change to the source code, the server will restart, and then we’ll see the updated behavior.
Get hands-on with 1400+ tech skills courses.