gradle/native-platform

Use single FSEventStream to track all watched hierarchies

lptr opened this issue · 0 comments

lptr commented

Currently we create a separate FSEventStream object for each watched directory hierarchy per FileWatcher. This seems to be overly expensive, and it is easy to bump into a limit around 1000 per machine for FSEventStreams. We can use a single stream with multiple watched paths instead.

/cc @gradle/execution