You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #939 fixing 2 issues related to webpack-dev-server and HMR (weaverryan)
This PR was squashed before being merged into the main branch.
Discussion
----------
fixing 2 issues related to webpack-dev-server and HMR
Fixes#931
* `liveReload` currently causes the page to ALWAYS reload: HMR never has a chance to update the content. Disabling by default. This will mean people that currently like the liveReload won't have it anymore unless they re-enable it. But allowing HMR to be broken is not ok. See: #931 (comment)
* The hostname used for the web socket changed in Webpack 4. For most users it doesn't matter... they use localhost everywhere. But this PR explicitly sets the web socket hostname to the hostname of the dev-server.
TODO: fix/add tests
Cheers!
Commits
-------
ed41a52 making test more fault tolerant
4178f64 fixing 2 issues related to webpack-dev-server and HMR - fixes#931
0 commit comments