Not reloading on file change
See original GitHub issueDescription
When I attempt make changes to a Component it doesn’t re-build inside of npm start as shown below:
npm start
oryarn start
Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.The page will reload if you make edits.
You will see the build errors and lint warnings in the console.
Expected behavior
When I change a file I would expect the source for my app to update so that upon reload I could see my changes
Actual behavior
Nothing Happens
Environment
-
npm ls react-scripts
(if you haven’t ejected): XXX> npm ls react-scripts XXX@0.1.0 XXXX `-- react-scripts@0.9.5 -
node -v
: v7.7.3 -
npm -v
: 4.4.1 -
Operating system: Windows 10
-
Browser and version: Chrome Latest
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Django server not reloading on file changes - Stack Overflow
Everything seems to be working fine except the fact that the server does not reload when I make file changes (on all python...
Read more >Document is not getting reloaded when changes are made ...
We are noticing that once a build is done, external change made to files such as js are not tracked. The workflow was...
Read more >React not reloading on it's own - Codecademy Forums
when you make a bigger change in your code, you may have to refresh the browser or restart the server (stop the server...
Read more >Reopen documents on Reload after file modification detected
Tools > Options > Environment > Documents > Detect when file is changed outside the environment > Reload modified files unless there are...
Read more >Built in webserver not reloading Python files upon requests
The behavior you describe with --nothreading (where the server reloads immediately upon a file save) is the normal and expected behavior. So something...
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
Does this troubleshooting section help?
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-start-doesnt-detect-changes
For those that find themselves here like me 😃,
The right link is => https://facebook.github.io/create-react-app/docs/troubleshooting#npm-start-doesnt-detect-changes