OS/Platform name and version:
MacOS Sonoma 14.0 with Apple M1 chip
Rust version (if building from source): rustc --version:
rustc 1.73.0-nightly (0e8e857b1 2023-07-16)
Notify version (or commit hash if building from git):
{ version = "6.0.1", default-features = false, features = ["macos_kqueue"] }
What you did (as detailed as you can)
I am using notify and tokio to monitor file changes. During the process, I found a bug: after I executed git checkout . command in the monitored directory, notify could no longer respond to file changes.
System details
rustc --version
: rustc 1.73.0-nightly (0e8e857b1 2023-07-16)What you did (as detailed as you can)
I am using notify and tokio to monitor file changes. During the process, I found a bug: after I executed
git checkout .
command in the monitored directory, notify could no longer respond to file changes.Below is all my code
What you expected
I expect that after executing
git checkout .
command and then modifying the file, I can still monitor the file changes.What happened
After I executed
git checkout .
command in the monitored directory, notify could no longer respond to file changes.