-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seed points to an invalid repository #71
Comments
Also wondering this - any idea where a current working example repo of angular-hmr in action is? |
I haven't found any repos, but there are a few guides floating around, and it seems like this lib hasn't changed in a while because many of them still work. Here's the one I always refer to: https://medium.com/@beeman/tutorial-enable-hmr-in-angular-cli-apps-1b0d13b80130 The original directions seem to be based on a webpack when I imagine most of us use CLI now, which is what this guide is geared towards. |
The linked article and repo still have the problem that HMR is not properly enabled, it leaves this
when you start the server. |
Yeah, this seed project would be really helpful. I'd love to see how they are maintaining state for the components. From my understanding, you can really only hotload your entire module, not just individual components/directives/services. Is this correct? I haven't been able to find, or think of a way how to hotload just a component without loading the whole module. |
From looking at the video, it is suggested that the component state should be maintained. However when using a trivial example
and I change anything in
app.component.html
then the counter is reset to 0 after saving.So
a) is the info in https://github.com/angular/angular-cli/wiki/stories-configure-hmr wrong?
b) should the component state be maintained automatically?
c) it would help if the seed project still existed
The text was updated successfully, but these errors were encountered: