Hot-reloading not working on clean install
See original GitHub issueHot-reloading does not seem to be working for me, on a completely fresh install of v3.
Steps to recreate:
git clone git@github.com:mxstbr/react-boilerplate
cd react-boilerplate
git checkout v3.0.0
npm run setup
npm run clean
npm start
- Open app in Chrome
- Change a string in app/components/HomePage/index.js
Expected behaviour:
string gets changed in browser
Result:
[HMR] Waiting for update signal from WDS...
[WDS] Hot Module Replacement enabled.
[WDS] App updated. Recompiling...
[WDS] App hot update...
[HMR] Checking for updates on the server...
XHR finished loading: GET "http://localhost:3000/39a7e2268207762c02b4.hot-update.json".
[HMR] The following modules couldn't be hot updated: (They would need a full reload!)
[HMR] - 643
[HMR] Nothing hot updated.
[HMR] App is up to date.
I’m not entirely sure how to debug this, but I’d be happy to assist.
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (10 by maintainers)
Top Results From Across the Web
Hot Reload is not working in my React App - Stack Overflow
I have created this app with npx create-react-app. After this i have deleted all the files except index.js in src folder. Then Hot...
Read more >Troubleshooting XAML Hot Reload - Visual Studio (Windows)
This troubleshooting guide includes detailed instructions that should resolve most issues that prevent XAML Hot Reload from working ...
Read more >Hot Reload Stops working after saving. - Visual Studio Feedback
Hot reload stops working completely and i have to rebuild and run the project for it to work again, and breaks as soon...
Read more >Hot reload is not working in Vue-Cli fresh installation - Laracasts
If you created something which created an error and then you fixed it, chances are it will require a reload because the original...
Read more >Hot Module Replacement - webpack
HMR is not intended for use in production, meaning it should only be used in ... + // Dev server client for web...
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 Free
Top 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

This is, unfortunately a known issue:
Hot module reloading does not work with ‘function’ or ‘pureComponent’ based components.
If hot reloading is really important to you, I suggest as a workaround, that you use
React.Component, even just temporarily, while you are working on page content.The proposed fix for this issue is being discussed at #1068
Hi, I am having the same issue here. but the browser does not get refreshed. I see the code recompiles but not the browser. Any ideas?