10

I'm using Angular 5.

The hot reload takes about 8 secs which is reasonable (not great though) but is there any way to configure it so I can tweak it to make it faster?

Concerned it will get even slower as the app grows. Thanks.

danday74
  • 52,471
  • 49
  • 232
  • 283

1 Answers1

7

Try to compile with Ahead-of-Time option

Angular Doc: With AOT, the browser downloads a pre-compiled version of the application. The browser loads executable code so it can render the application immediately, without waiting to compile the app first.

aureluss
  • 96
  • 3