This repository has been archived by the owner on Jan 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 492
Reload doesn't work on file with error when using yarn #148
Comments
This was referenced Aug 22, 2017
Hi, have you got any further with this issue?/ |
Very strange : I tried today with yarn, and it's working perfectly ! |
Have the same issue.. Once I have a typescript error, I need to restart process manually. Tried both with yarn 1.6.0 and npm 6.0 |
@dmbaranov Did you ever find a solution? I'm still experiencing this bug in late December 2018. |
@SeedyROM no, not really. I don't actually use this project anymore. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is this a bug report?
yes
Can you also reproduce the problem with npm 4.x?
yes
Which terms did you search for in User Guide?
I tried https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-start-doesnt-detect-changes
Environment
npm ls react-scripts-ts
(if you haven’t ejected): 2.6.0node -v
: 8.4.0npm -v
: 5.3.0yarn --version
(if you use Yarn): 0.27.5Then, specify:
Steps to Reproduce
(Write your steps here:)
create-react-app my-app --scripts-version=react-scripts-ts
yarn start
in my-app folderExpected Behavior
When I edit and save a file which contains a TS error, it should reload automatically.
Actual Behavior
Nothing.
If I edit another file, it compiles again but the error is still there.
I tried with WebStorm and VS Code. I also followed https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-start-doesnt-detect-changes
Solution
When I use
npm start
instead of yarn, it works.Thank you !
The text was updated successfully, but these errors were encountered: