Skip to content

Commit 75b93f9

Browse files
authored
Add a note for OSX users about watchman and jest
Minor additional information on how to solve watchman problems reported in facebook#713 and facebook#1767
1 parent 2da6eda commit 75b93f9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/react-scripts/template/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,14 @@ The watcher includes an interactive command-line interface with the ability to r
675675
676676
![Jest watch mode](http://facebook.github.io/jest/img/blog/15-watch.gif)
677677
678+
>**A note for Mac OSX users**
679+
680+
>If you start `npm test` and the execution hangs there might be a problem with your watchman installation as discovered in #713 and #1767.
681+
682+
> To solve the issues first make sure you run the latest verision: `brew install watchman` (4.7.0).
683+
Then execute `launchctl unload -F ~/Library/LaunchAgents/com.github.facebook.watchman.plist`. After these steps the issues should be resolved.
684+
685+
678686
### Version Control Integration
679687
680688
By default, when you run `npm test`, Jest will only run the tests related to files changed since the last commit. This is an optimization designed to make your tests runs fast regardless of how many tests you have. However it assumes that you don’t often commit the code that doesn’t pass the tests.

0 commit comments

Comments
 (0)