angularcli-hmr-example icon indicating copy to clipboard operation
angularcli-hmr-example copied to clipboard

Unsure that HMR is working

Open Martin-Andersen opened this issue 8 years ago • 2 comments

Hi thanks for bringing hmr to the angular-cli.

I have used cli beta 22 to create a new project made the changes you have made in this repo and installed @angularclass from npm.

I can not se any difference in time when running ng serve compared to npm serve:hmr. Am I missing something?

Martin-Andersen avatar Dec 10 '16 13:12 Martin-Andersen

I see same exact issue, my reload times with cli 1.24 take 11 seconds with OR without hmr flag

ng serve --port 4203  --hmr -e=hmr

and output seems that hmr is working but no speed gains:

[WDS] App hot update...
[HMR] Checking for updates on the server...
[HMR] Updated modules:
[HMR]  - 590
[HMR]  - 908
[HMR]  - 582
[HMR]  - 781
[HMR]  - 913
[HMR] Consider using the NamedModulesPlugin for module names.
[HMR] App is up to date.
App loaded ready
Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
loaded network services...

anything we can try to fix this?

Angular 2 Kitchen sink: http://ng2.javascriptninja.io and source@ https://github.com/born2net/Angular-kitchen-sink Regards,

Sean

born2net avatar Dec 21 '16 15:12 born2net

same here, no speed gain.

hammadtariq avatar Jan 17 '17 12:01 hammadtariq