Reduce notify debounce time to 100ms
This commit is contained in:
parent
44475ec99c
commit
541e0ff06e
2 changed files with 2 additions and 2 deletions
|
|
@ -1577,7 +1577,7 @@ impl Application for App {
|
||||||
let watcher_res = {
|
let watcher_res = {
|
||||||
let mut output = output.clone();
|
let mut output = output.clone();
|
||||||
new_debouncer(
|
new_debouncer(
|
||||||
time::Duration::from_secs(1),
|
time::Duration::from_millis(100),
|
||||||
None,
|
None,
|
||||||
move |events_res: notify_debouncer_full::DebounceEventResult| {
|
move |events_res: notify_debouncer_full::DebounceEventResult| {
|
||||||
match events_res {
|
match events_res {
|
||||||
|
|
|
||||||
|
|
@ -678,7 +678,7 @@ impl Application for App {
|
||||||
let watcher_res = {
|
let watcher_res = {
|
||||||
let mut output = output.clone();
|
let mut output = output.clone();
|
||||||
new_debouncer(
|
new_debouncer(
|
||||||
time::Duration::from_secs(1),
|
time::Duration::from_millis(100),
|
||||||
None,
|
None,
|
||||||
move |events_res: notify_debouncer_full::DebounceEventResult| {
|
move |events_res: notify_debouncer_full::DebounceEventResult| {
|
||||||
match events_res {
|
match events_res {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue