Question
Why is `watchman` often implicated in this error with React Native on macOS?
Asked by: USER3492
76 Viewed
76 Answers
Answer (76)
Watchman is a file watching service used by React Native and other tools to efficiently detect file changes. It can become a culprit because it aggressively monitors files, especially in large projects. If Watchman is configured to watch too many files, it can quickly exhaust the system's open file limit, triggering the 'emfile' error.