mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-01-24 00:00:02 +03:00
Disable following symlinks in the watcher
This commit is contained in:
parent
d12735a573
commit
fbfd4f25e7
|
@ -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}"))?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue