We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We run webpack through a rails application and a gem called webpacker
We there for run our webserver at one port, but our dev server on another port.
Because the websocket just uses window.localtion.port (https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/master/src/runtime/createSocket.js#L26) it tries to connect to our web server port, not our web socket port.
window.localtion.port
This could be fixed a few ways.
sockPort
port
This may also solve #36
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
We run webpack through a rails application and a gem called webpacker
We there for run our webserver at one port, but our dev server on another port.
Because the websocket just uses
window.localtion.port
(https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/master/src/runtime/createSocket.js#L26) it tries to connect to our web server port, not our web socket port.This could be fixed a few ways.
sockPort
(https://webpack.js.org/configuration/dev-server/#devserversockport), with a fall back webpack-dev-serversport
and finally a fall back towindow.localtion.port
This may also solve #36
The text was updated successfully, but these errors were encountered: