I
I
Igor Bezlepkin2020-11-03 12:06:53
Angular
Igor Bezlepkin, 2020-11-03 12:06:53

Why is there no hot-reload by default in Angular?

Hey! I decided to switch from Vue to Angular + NestJs here. Faced with the fact that in Angular there is no hot-reload by default.
Well, as it were, the project is rebuilt, but this is at least a second + without saving the state.

Why is that? What is the reason for this decision?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CoyoteSS, 2020-11-03
@CoyoteSS

Try running a dev build with the --hmr flag.
HMR is disabled by default in Angular CLI.
ng serve --hmr

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question