summaryrefslogtreecommitdiff
path: root/src/watch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch.rs')
-rw-r--r--src/watch.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/watch.rs b/src/watch.rs
index 6259c9d..3a56b4b 100644
--- a/src/watch.rs
+++ b/src/watch.rs
@@ -74,7 +74,9 @@ fn run_watch(
let mut watcher = RecommendedWatcher::new(
notify_event_handler,
- Config::default().with_poll_interval(Duration::from_secs(1)),
+ Config::default()
+ .with_follow_symlinks(false)
+ .with_poll_interval(Duration::from_secs(1)),
)
.inspect_err(|_| eprintln!("{NOTIFY_ERR}"))?;