Re:Show HN: Filesystem Watcher
by widdershins on Tuesday October 18, 2022 @10:22AM
(#33247625)
Looks great! I'm wondering what operating systems are supported. I'm assuming Linux. What about macOS and Windows?
https://github.com/e-dant/watcher/blob/989147b183ee0547d71a1...
Looks like it works on quite a few systems including Android and iOS.
All are supported.
Although, to be more efficient, I need to write system API calls for Windows.
That will be the 1.0 release.
Re:Show HN: Filesystem Watcher
by hackyhacky on Tuesday October 18, 2022 @10:46AM
(#33248028)
> All are supported.
Really? Great news! I can't wait to use this library on my BeOS desktop system, my OpenVMS timeshare, my z/OS mainframe, my OS/2 laptop, my VxWorks router, and my AmigaDOS game system, and of course my TempleOS hobby project.
They were responding to a comment asking about Linux, MacOS, and Windows support.
Needless pedantry is one thing, but deliberately misconstruing a discussion to support said pedantry is sad.
Re:Show HN: Filesystem Watcher
by OnlyMortal on Tuesday October 18, 2022 @12:29PM
(#33249974)
It uses FSEvents on the Mac. It can do dumb polling too.
- simple
- efficient
- dependency free
- runnable anywhere with a filesystem
- header only
Watcher is extremely efficient. In most cases, even when scanning millions of paths, this library uses a near-zero amount of resources.
Watcher is simple. The library exposes a single function and a single object. That is all.
Happy hacking.