Closed jcs closed 3 years ago
@jcs Thank you for the PR.
Can you please add tests? At least for these cases:
Hi @jcs Just checking in here to see if you can write those 3 tests?
Hi @jcs Just checking in again to see if you can write those 3 tests? LMK if you need help with them.
@jcs Can you check out v3.7.0 that was just released and see if the optimization from #542 winds being equivalent to the kqueue
optimization in this PR?
It appears so, thanks!
Excellent! Thanks @jcs for looking into this.
I'm using this via Jekyll's
--watch
option and on OpenBSD I either have to get a CPU-eating poll of its giant directory structure (because of.git
andvendor/bundle
) or I userb-kqueue
and the process quickly dies after running out of file handles.Since the paths being ignored by the Silencer aren't used anyway, can it just not pass them to kqueue and avoid watching them?