This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
Reload doesn't work on file with error when using yarn #148
Closed
Description
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?
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.5
Then, specify:
- Operating system: Windows 7 - 32bits
Steps to Reproduce
(Write your steps here:)
create-react-app my-app --scripts-version=react-scripts-ts
yarn start
in my-app folder
Expected 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 !
Metadata
Metadata
Assignees
Labels
No labels