Watchfiles: Simple, modern and fast file watching for Python, written in Rust

5 days ago (github.com)

There are some big caveats to this approach. Note “Known Problems” for the library. Particularly, you need to use a polling backend for network / VM filesystems. I didn’t see any notes for the Python library and the fact that notify is still telling you this makes me suspect it will just fail to work in those cases.

https://docs.rs/notify/latest/notify