seb-m / pyinotify

Monitoring filesystems events with inotify on Linux.
http://github.com/seb-m/pyinotify/wiki
MIT License
2.29k stars 379 forks source link

Pls add support for macos and other unix systems #186

Open ah1102 opened 4 years ago

ah1102 commented 4 years ago

Please add support for macos and other unix systems (FreeBSD, OpenBSD...)

ookull commented 4 years ago

This is not possible as pyinotify relies on a Linux Kernel feature called inotify. MacOS uses event notification interface called kqueue. Try to use watchdog, a higher level file system event monitoring module.