Axosoft / nsfw

A super fast and scaleable file watcher that provides a consistent interface on Linux, OSX and Windows
MIT License
901 stars 113 forks source link

macOS - continue watcher when root is deleted #148

Closed bpasero closed 10 months ago

bpasero commented 3 years ago

In my testing, the watcher was working just fine even when the root was deleted and came back. Besides, doing a stat in every loop seems like a lot of work to me when idle.

I think this fixes https://github.com/Axosoft/nsfw/issues/56, at least on macOS.