App dev server does not recompile on changes
See original GitHub issueIf you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Description
What are you reporting? The app dev server does not recompile on changes.
Expected behavior
Tell us what you think should happen. The app dev server should restart.
Actual behavior
Tell us what actually happens. It does not compile.
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.6.1node -v
: v4.4.4npm -v
: 3.10.5
Then, specify:
- Operating system: Windows 10 64 Bit
- Browser and version: Google Chrome 53
Reproducible Demo
Please take the time to create a new app that reproduces the issue.
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.
This is not required because I am using the exact fresh build from create-react-app {name}. Here is a demo: https://i.gyazo.com/3d097648393810af1079a7c40915596b.gif
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
Does this help? https://github.com/facebookincubator/create-react-app/issues/659#issuecomment-247842929
Try disabling “safe write” feature.
Might also be because you are not importing the file in question: https://github.com/wmonk/create-react-app-typescript/issues/228#issuecomment-358228279