-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App dev server does not recompile on changes #908
Comments
Does this help? Try disabling "safe write" feature. |
cc @prigara, can/does IntelliJ disable "safe write" by default in React projects? |
@gaearon no, we can't disable that for React projects only – it's an IDE general setting. It seems that dev server works good with "safe write" enabled on macOS. On Windows it works not very stable, but still works, disabling "safe write" helps. |
Going to close in favor of #659. There are a few possible reasons why this might be happening, let's keep accumulating the knowledge there. |
Might also be because you are not importing the file in question: wmonk/create-react-app-typescript#228 (comment) |
If 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): `-- [email protected]node -v
: v4.4.4npm -v
: 3.10.5Then, specify:
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
The text was updated successfully, but these errors were encountered: