diff options
| author | mo8it <mo8it@proton.me> | 2024-04-25 03:28:44 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-25 03:28:44 +0200 |
| commit | 428998a4cf74246b0a1da4b8013b504d86cdabeb (patch) | |
| tree | e5943a190608439c0fa5287641507c5680888537 /src/watch.rs | |
| parent | d26f47ddddaabcde36d5cb02ec220ccd1c141f10 (diff) | |
Quicker response to file changes
Diffstat (limited to 'src/watch.rs')
| -rw-r--r-- | src/watch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watch.rs b/src/watch.rs index 5ebe526..1e22f59 100644 --- a/src/watch.rs +++ b/src/watch.rs @@ -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, |
