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

Switching to webpack-serve. There were a number of hot reload issues with WDS #11

Merged
merged 1 commit into from
Jun 1, 2018

Conversation

iphands
Copy link
Contributor

@iphands iphands commented May 31, 2018

Webpack Dev Server had some bad issues with their websocket for hot reloading setup.
They made some assumptions about what the servers base URL, HOST, and PORT and this was not configurable by the user.
This made the hot reloading features fail hard when used through a proxy like insights-proxy
See: webpack/webpack-dev-server#1289

webpack-serve does not have these same issues

@iphands iphands requested review from karelhala and Kinlaw May 31, 2018 19:36
@iphands
Copy link
Contributor Author

iphands commented May 31, 2018

@karelhala @jharting @Kinlaw

Made the same changes here... https://github.com/RedHatInsights/turbo-octo-couscous/tree/fixes/webpack-serve

That worked well, pulling them over to this repo. Can you test locally and make sure that the hot reload stuff works for you?

@iphands iphands force-pushed the fixes/webpack-serve branch from 1b71075 to bacf85a Compare May 31, 2018 19:45
@karelhala
Copy link
Contributor

Hot reload works as before. Tried adding some simple string somewhere and console logged it, same with importing newly created file.

I'll open new PR which fixes the test build so this could be merged without breaking the CI.

@iphands iphands force-pushed the fixes/webpack-serve branch from bacf85a to da36107 Compare June 1, 2018 15:12
@iphands iphands force-pushed the fixes/webpack-serve branch from 18225a1 to a89a4bc Compare June 1, 2018 15:59
@iphands iphands merged commit b3e6ea7 into master Jun 1, 2018
Kinlaw pushed a commit that referenced this pull request Oct 31, 2018
@Hyperkid123 Hyperkid123 deleted the fixes/webpack-serve branch August 2, 2023 14:34
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.

2 participants