-
I work with at least one repository big enough to want to use Watchman. Currently I have it set as a per‐repository configuration, but if I already have it installed and working, is there any reason I shouldn’t just set it globally so I don’t have to think about it? Can it be meaningfully slower on small repositories? Are there any potential correctness issues? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There's a know bug that |
Beta Was this translation helpful? Give feedback.
-
Watchman may consume operating system resources (like inotify watches). In those cases, you may exhaust all of your OS file-watching resources if you watch too many paths. Watchman offers the I've had non-Watchman tooling start a development server and subscribe to inotify directly, which I guess wasn't cleaned up properly and then exhausted the global resource and caused all file-watching to stop working, although I think Watchman generally behaves better with respect to cleaning up resources. |
Beta Was this translation helpful? Give feedback.
There's a know bug that
.gitignore
change can be unnoticed. Other than that, I don't see any problem by enabling watchman globally.#2613