Skip to content
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

Webpack HMR continuous rebuilding #17

Open
Sky4CE opened this issue Mar 20, 2017 · 1 comment
Open

Webpack HMR continuous rebuilding #17

Sky4CE opened this issue Mar 20, 2017 · 1 comment

Comments

@Sky4CE
Copy link

Sky4CE commented Mar 20, 2017

When using this plugin to create separate dll for vendor libs I find out that certain type of files or even code paths break webpack HMR, it starts infinitely rebuilding and log notifications into console log, so my console window became spammed very quickly. First it happens when I add an image and just serve it as in html. For some reason this plugin didn't like my image, ok I've changed to another then spam finished. But next time when I add nested lazy routes into my app it breaks HMR again, this time I have no choice just switch HMR off which is very sadly. It works with 1 level of lazy routes, but as soon as you add nested it breaks immediately (infinite rebuilding). When I remove DllBundlePlugin out of dev config problems gone, but then I get huge main.js...
Could this be fixed? Or maybe somebody know some workaround?

@xuyl0104
Copy link

I am having the same issue and still waiting for help. Somebody says turning off the HotModuleReplacement might be helpful and you could have a try. It didn't work for me though.

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

No branches or pull requests

2 participants