e-dant/watcher
View on GitHub ↗ ★ 809 C++
Filesystem watcher. Works anywhere. Simple, efficient and friendly.
12 mentions on Hacker News by 4 people: 2 stories, 10 comments · first 2022-10-05 · latest 2026-03-28
20082026
-
…about benchmarks, others noting or expressing interest in other projects, I'll drop the one I made: https://github.com/e-dant/watcher (and also an ebpf experiment https://github.com/e-dant/bpf-fs-events ) There are benchmarks in there, and…
comment by e-dant · 2026-03-28 · in Detecting file changes on macOS with kqueue -
▲ 3
Show HN: What two years of maintenance on a project I love looks likestory by e-dant · 2024-08-25 · 1 comment
-
https://github.com/e-dant/watcher/issues/10
comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher -
…the works, however manual testing does show only minimal resource usage. For more, see this issue: https://github.com/e-dant/watcher/issues/10
comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher -
https://github.com/e-dant/watcher/issues/10
comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher -
…about OS filesystem event hooks. The current solution isn’t ideal, and is being addressed here: https://github.com/e-dant/watcher/issues/10
comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher -
It’s being addressed here: https://github.com/e-dant/watcher/issues/10
comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher -
…Edit: never mind, This tool is manually scanning the filesystem instead of listening to OS events https://github.com/e-dant/watcher/blob/989147b183ee0547d71a1...
comment by rasz · 2022-10-18 · in Show HN: Filesystem Watcher -
>or is it simply an abstraction over inotify? Looks like it: https://github.com/e-dant/watcher/blob/989147b183ee0547d71a1...
comment by bertman · 2022-10-18 · in Show HN: Filesystem Watcher -
https://github.com/e-dant/watcher/blob/989147b183ee0547d71a1... Looks like it works on quite a few systems including Android and iOS.
comment by dljsjr · 2022-10-18 · in Show HN: Filesystem Watcher -
▲ 91
Show HN: Filesystem Watcherstory by e-dant · 2022-10-18 · 73 comments
-
Those considering doing something like this (such as the author) might consider using my library: https://github.com/e-dant/watcher It hooks into system APIs where viable. (Otherwise, it uses std::filesystem.) It’s meant to be as or more:…
comment by e-dant · 2022-10-05 · in Watchman: Execute a command when something changes