-
Notifications
You must be signed in to change notification settings - Fork 505
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
Hot Module Reload #136
Comments
We experienced this as well upstream in the webpack template, back when when we upgraded to webpack 3. It turned out that it was related to the html-webpack-template and this code: vuejs-templates/webpack#751 (comment) So you have this in We decided to remove that to get HMR going again: https://github.com/vuejs-templates/webpack/blob/1.1.0/template/build/dev-server.js#L38-L46
|
@LinusBorg yea, I noticed the upstream issue as well when I tried a new template on that end. Lemme try what you're suggesting and I'll report back. Thanks for the quick reply! Edit: Looks good :) |
Thanks a lot @LinusBorg, it was very boring... 😞 |
@LinusBorg This causes very weird behavior with styling files for me, have you found another work around? |
No. Also I don't see how this could influence styling. |
Ended up being a tricky sass :export {} "bug". Hope it helps the next person. |
If you run
vue init vuejs-templates/pwa test
to clone a new template then run it after installing all the dependencies, you'll notice HMR is not HMR. It is doing a hard refresh.The text was updated successfully, but these errors were encountered: