Skip to content

Instantly share code, notes, and snippets.

@lukewang1024
Created September 24, 2017 14:23
Show Gist options
  • Select an option

  • Save lukewang1024/6f54ac707d80ba2f4bf8f1bdcc9cb857 to your computer and use it in GitHub Desktop.

Select an option

Save lukewang1024/6f54ac707d80ba2f4bf8f1bdcc9cb857 to your computer and use it in GitHub Desktop.
Workaround for `jest --watch` hanging on MacOS with `watchman` installed

create-react-app yarn test / npm test hangs

This is actually an issue in Jest / Watchman. Quick workaround is followed:

launchctl unload ~/Library/LaunchAgents/com.github.facebook.watchman.plist

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment