Hot module reloading with proxy not working in Firefox but works in Chrome
See original GitHub issueHi,
When developing using create-react-app
in Firefox 66.0.1, hot module reloading isn’t working, and I get this error in console when using npm run start
:
The connection to ws://localhost:3000/sockjs-node/800/q2e1i5qh/websocket was interrupted while the page was loading. websocket.js:7
This doesn’t happen in Chrome, and HMR works there as expected. I didn’t have problems in the past with Firefox, I’m not sure if it’s triggered by a Firefox update, or new versions of react-scripts. It may even be specific to my app.
I’m using react-scripts
versions 2.1.8
Does anyone know what would cause this, and how I could get HMR working again? I’m not really sure where to look.
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Reactions:25
- Comments:29 (5 by maintainers)
Top Results From Across the Web
How to force Chrome to reload proxy configuration file?
One way to do it that is fairly reliable is to completely turn off all proxy settings in the system settings dialogue (and...
Read more >Vue cli 3 hot reload suddenly not working in browsers
Using quasar vue-3. Everything was fine but suddenly the live update of chrome stop working and I need to refresh after every change...
Read more >MSN won't open in regular mode after update | Firefox Support ...
hold down the Shift key and left-click the Reload button · Options/Preferences -> Privacy & Security · Options/Preferences -> Privacy & Security
Read more >BrowserSync keeps reloading infinitely upon JavaScript ...
This happens immediately after changing a JavaScript file and using webpack/browersync ( yarn start command). When running yarn build and testing the website...
Read more >Google Chrome proxy settings? - Ask Ubuntu
Open a Terminal and type sudo -H nautilus. Type your password then press Ctrl + L and type /usr/share/applications/ and press Enter. Now...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Don’t close it stale bot! 😇
As a temporary workaround, using the manual proxy config instead of using the proxy entry in
package.json
worked for me.