v5: 多个并发观察者导致 macOS 上的 child_process.fork() 发生 EBADF 错误 (与 v3 相比出现回退)
作者: Prains创建于 2026年3月12日更新于 2026年4月30日
When chokidar v5 watches a large project directory (depth ≥ 4, or roughly >10,000 files/dirs), any subsequent call to child_process.fork() fails with EBADF. This is a regression from v3 which used fsevents and did not exhibit this problem.
内容来源: paulmillr/chokidar