aboutsummaryrefslogtreecommitdiffstats
path: root/worker/lib/watchers/fsevents.go
Commit message (Collapse)AuthorAgeFilesLines
* fswatcher: fix bsd supportRobin Jarry2023-03-101-0/+84
Fix the following error when running maildir on freebsd: could not create file system watcher: Unsupported OS: freebsd Do not register based on os type. Register based on supported API. Rename linux -> inotify and darwin -> fsevents. Only build fsevents on darwin, and inotify on all other platforms. Fixes: a0935a3de0ce ("worker/lib: implement an fswatcher interface") Reported-by: Jens Grassel <jens@wegtam.com> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Jens Grassel <jens@wegtam.com>