Skip to content
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
@pierre-H

Description

@pierre-H

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

  1. npm ls react-scripts-ts (if you haven’t ejected): 2.6.0
  2. node -v: 8.4.0
  3. npm -v: 5.3.0
  4. yarn --version (if you use Yarn): 0.27.5

Then, specify:

  1. Operating system: Windows 7 - 32bits

Steps to Reproduce

(Write your steps here:)

  1. create-react-app my-app --scripts-version=react-scripts-ts
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions