-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Page does a full reload with hmr enabled #1287
Comments
Please check if this PR #1276 fixes an issue for you. |
#1315 I have a same issue. It works when I matches 'public path'. |
@haegul what do you mean with 'matches publicPath'? 🤔 |
Reproducible test repo doesn't work, also you use outdated version of |
Code
webpack.config.js
index.js
server.js
and in my index.html i have this script tag
<script src="http://localhost:4000/client/dist/app.min.js"></script>
Expected Behavior
HMR should works
Actual Behavior
Page does a full reload when i use a index.html served from node.js
For Bugs; How can we reproduce the behavior?
git clone https://github.com/GiancarlosIO/node-rgr-app
npm install && npm server:watch && npm client:watch
Open http://localhost:3000 and edit ./client/print.js — hmr not work, Full page reload instead of module reload
The text was updated successfully, but these errors were encountered: