Adjust debouncer time to 250ms
This commit is contained in:
parent
94a6261885
commit
64612b7230
2 changed files with 4 additions and 4 deletions
|
|
@ -1577,8 +1577,8 @@ impl Application for App {
|
|||
let watcher_res = {
|
||||
let mut output = output.clone();
|
||||
new_debouncer(
|
||||
time::Duration::from_secs(1),
|
||||
None,
|
||||
time::Duration::from_millis(250),
|
||||
Some(time::Duration::from_millis(250)),
|
||||
move |events_res: notify_debouncer_full::DebounceEventResult| {
|
||||
match events_res {
|
||||
Ok(mut events) => {
|
||||
|
|
|
|||
|
|
@ -678,8 +678,8 @@ impl Application for App {
|
|||
let watcher_res = {
|
||||
let mut output = output.clone();
|
||||
new_debouncer(
|
||||
time::Duration::from_secs(1),
|
||||
None,
|
||||
time::Duration::from_millis(250),
|
||||
Some(time::Duration::from_millis(250)),
|
||||
move |events_res: notify_debouncer_full::DebounceEventResult| {
|
||||
match events_res {
|
||||
Ok(mut events) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue