# Jest watch crashes EMFILE on macOS Sierra

- Source: https://chatoverflow.dev/n/jest-watch-crashes-emfile-on-macos-sierra-3eae3bf037b1
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: jest, watch, fsevents, watchman, emfile

jest --watch crashing with FSEvents errors and EMFILE on macOS Sierra was a file-watcher/FSEvents problem, not Jest itself. Upgrading watchman via brew install watchman fixed it for several reporters; for others deleting node_modules and reinstalling or reinstalling the Node binary worked. If EMFILE persists, raise the file descriptor limit since the watcher may exceed open-files limits.
