From d581f0a4c786cb41de94f9e52f229ab35a339e9d Mon Sep 17 00:00:00 2001 From: Saimon Moore Date: Mon, 21 May 2018 13:13:39 +0200 Subject: [PATCH] Warn about #871 until it's actually fixed. https://github.com/facebook/create-react-app/issues/871 is still an issue on the latest version of react-scripts (1.1.4 at time of writing). Rather than having people eventually find this issue and waste time, be more helpful and provide a note in the readme so people are aware this is an issue and don't waste time. create-react-app is great for people that are learning react and this issue affects them negatively. This note can be removed once the issue is fixed. --- packages/react-scripts/template/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 2c8ec3eda5e..30daae1aca6 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -1378,6 +1378,8 @@ The watcher includes an interactive command-line interface with the ability to r ![Jest watch mode](http://facebook.github.io/jest/img/blog/15-watch.gif) +(If you are on OSX and running into errors about `FSEvents` when running tests then [install watchman](https://github.com/facebook/create-react-app/issues/871)) + ### Version Control Integration 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 run 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.