angularangular-clilivereloadhot-reload

angular configure hot reload / live reload for speed


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.


Solution

  • 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.