Skip to content
This repository was archived by the owner on Dec 20, 2018. It is now read-only.

Adding BrowserAnimationsModule and NoopAnimationsModule causes webpack HMR to duplicate the app element on update #8

Closed
JimLynn opened this issue Sep 13, 2017 · 1 comment

Comments

@JimLynn
Copy link

JimLynn commented Sep 13, 2017

Using exactly the same code as in the angular-animations-example branch, any changes to the app that invokes the webpack hot module replacement results in the previous app element being left behind underneath the newlay added app element. A browser refresh is necessary to get rid of it and test as normal.

This seems to be provoked merely by importing the two AnimationsModules into the browser and server app modules.

Here's my demo of the problem.

JimLynn/AngularCoreWithAnimation@356be71

@SteveSandersonMS
Copy link
Member

Thanks for reporting this.

Closing as duplicate of aspnet/JavaScriptServices#1231, as I am certain that fixing that issue will also resolve this one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants