mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 06:57:31 -05:00
Quicker response to file changes
This commit is contained in:
parent
d26f47dddd
commit
428998a4cf
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ pub fn watch(
|
|||
// Otherwise, the file watcher exits.
|
||||
let _debouncer_guard = if let Some(exercise_paths) = notify_exercise_paths {
|
||||
let mut debouncer = new_debouncer(
|
||||
Duration::from_secs(1),
|
||||
Duration::from_millis(500),
|
||||
DebounceEventHandler {
|
||||
tx: tx.clone(),
|
||||
exercise_paths,
|
||||
|
|
Loading…
Reference in a new issue