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

Fix HMR on secure server #459

Merged
merged 1 commit into from Jun 10, 2020

Conversation

stramel
Copy link
Contributor

@stramel stramel commented Jun 10, 2020

Fixes #457

Sorry about that!

NodeJS doesn't handle Websockets over HTTP2 so you have to allow the fallback to HTTP1.1. This is the current workaround.

@FredKSchott
Copy link
Owner

Makes sense for a dev server, thanks for the quick fix!

@FredKSchott FredKSchott merged commit 5366dfb into FredKSchott:master Jun 10, 2020
@stramel stramel deleted the ms/fix-hmr-over-http2 branch June 10, 2020 06:28
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.

hmr/websocket issue when using http2/https dev
2 participants