On FreeBSD notifications are only delivered using `RecursiveMode::Recursive`
Opened this issue · 0 comments
GyulyVGC commented
System details
- OS/Platform name and version: FreeBSD 13.2
- Rust version (if building from source): 1.74.1
- Notify version (or commit hash if building from git): 6.1.1
What you did (as detailed as you can)
I was watching in NonRecursive
mode a directory containing a single file.
What you expected
I expected to get notifications on file changes.
What happened
No notifications were delivered.
I fixed the issue by setting RecursiveMode::Recursive
, even if the folder just contain a simple file (no nested folders).
This only happens on FreeBSD... maybe a problem with kqueue
?