Skip to content

Unsure that HMR is working #2

Open

Description

@Martin-Andersen

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?

Activity

  1. born2net commented on Dec 21, 2016

    @born2net

    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

  2. hammadtariq commented on Jan 17, 2017

    @hammadtariq

    same here, no speed gain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions