From 27cacdfca581d1f51f3e99a8f94c859fe8576790 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Thu, 2 Mar 2023 16:46:02 -0600 Subject: fswatcher: add a darwin fswatcher implementation Add a darwin implementation of FSWatcher using the fsevents package. The implementation is behind a darwin build flag. Co-authored-by: Ben Cohen Signed-off-by: Tim Culverhouse Tested-by: Ben Lee-Cohen Acked-by: Robin Jarry --- worker/watcher_darwin.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 worker/watcher_darwin.go (limited to 'worker/watcher_darwin.go') diff --git a/worker/watcher_darwin.go b/worker/watcher_darwin.go new file mode 100644 index 00000000..fa1af712 --- /dev/null +++ b/worker/watcher_darwin.go @@ -0,0 +1,6 @@ +//go:build darwin +// +build darwin + +package worker + +import _ "git.sr.ht/~rjarry/aerc/worker/lib/watchers/darwin" -- cgit