Browser DOM doesn't reload/reflect changes after edits are made (Windows 64-bit)
See original GitHub issueIf you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
Many errors, especially related to “missing modules”, are due to npm bugs.
If you’re using Windows, follow these instructions to update npm.
If you’re using OS X or Linux, run this to update npm:
npm install -g npm@latest
cd your_project_directory
rm -rf node_modules
npm install
Then try to reproduce the issue again.
Can you still reproduce it?
Yes
Description
What are you reporting?
React-create-app doesn’t make DOM changes when edits are made to App.js. Refresh doesn’t show changes and hot module reload doesn’t trigger. The app is boilerplate and no additional modules have been added.
Expected behavior
Tell us what you think should happen.
DOM should reflect changes made in the editor.
Actual behavior
Tell us what actually happens.
Nothing changes when code is edited nor when I refresh the browser. Even after code edits are made and hot module reload is set, I cannot get the DOM to reflect my changes until I kill the process. Other than that, the app starts successfully and renders the initial content. When I kill the process and restart, it shows my code edits but still allows no changes.
Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts
(if you haven’t ejected): – react-scripts@0.9.5node -v
: v6.9.5npm -v
: 4.5.0
Then, specify:
- Operating system: Windows 7 64bit
- Browser and version: Chrome 57.0.2987.133
Reproducible Demo
Please take the time to create a new app that reproduces the issue.
Un-installed and Re-installed and nothing had changed.
Alternatively, you could copy your app that experiences the problem and start removing things until you’re left with the minimal reproducible demo.
(Accidentally, you might get to the root of your problem during that process.)
Push to GitHub and paste the link here.
By doing this, you’re helping the Create React App contributors a big time! Demonstrable issues gets fixed faster.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (7 by maintainers)
Top GitHub Comments
Are you sure?
Doh! Didn’t realize that it added it though we don’t see it. Will edit and re-test.