mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-08-08 22:36:55 +02:00
Disable following symlinks in the watcher
This commit is contained in:
@ -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}"))?;
|
||||
|
||||
|
Reference in New Issue
Block a user