Fix for #6720: HMR not working in Firefox if proxy option present#7444
Fix for #6720: HMR not working in Firefox if proxy option present#7444mrmckeb merged 3 commits intofacebook:masterfrom dmile:fix-hmr-for-firefox
Conversation
Testing is pretty simple, not sure that special repository needed:
Errors like:
should disappear |
patilharshal16
left a comment
There was a problem hiding this comment.
the hard-coded path is a good approach?
|
@patilharshal16 For now, there is no way to configure it. This path is more like a constant than variable: create-react-app/packages/react-dev-utils/webpackHotDevClient.js Lines 66 to 67 in b96ac6c P.S. Webpack has special sockPath option. But I don't know how to pass it to webpackHotDevClient and WebpackDevServerUtils. Any suggestions?
|
patilharshal16
left a comment
There was a problem hiding this comment.
In that case you need to check for platform compatibility for this path.
I've created a branch with configurable socket path. Based in this #6280 (comment). |
Original issue: #6720
Root cause: sockjs/sockjs-client#474 (comment)
This is a PR for naive idea how to fix it: #6720 (comment)