Skip to content

Conversation

weaverryan
Copy link
Member

@weaverryan weaverryan commented Feb 23, 2021

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: [webpack-dev-server] Content base changed. Reloading... #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!

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

Successfully merging this pull request may close these issues.

[webpack-dev-server] Content base changed. Reloading...
1 participant