watchfiles
watchfiles copied to clipboard
Expose `follow_links`
Description
Notifications for linked files seem to be deduplicated at the notify level, which leads to issues like https://github.com/Aider-AI/aider/issues/3315.
I believe this could be solved by exposing notifys follow_links and then setting it to False in the client program.
Example Code
Watchfiles Output
Operating System & Architecture
Linux-6.13.2-zen1-1-zen-x86_64-with-glibc2.41 #1 ZEN SMP PREEMPT_DYNAMIC Sat, 08 Feb 2025 18:54:38 +0000
Environment
No response
Python & Watchfiles Version
python: 3.12.8 (main, Jan 3 2025, 17:16:36) [GCC 14.2.1 20240910], watchfiles: 1.0.4
Rust & Cargo Version
No response