Changed default watcher timeout to 0ms, to default to no timeout.

This commit is contained in:
Filipe Rodrigues 2023-06-30 23:43:47 +01:00
parent 1a66fcdad7
commit a001754a3c

View File

@ -133,7 +133,8 @@ async fn main() -> Result<(), anyhow::Error> {
.then(|| {
Watcher::new(
builder.subscribe_events(),
args.watch_debouncer_timeout_ms.unwrap_or(100.0),
// TODO: Better default?
args.watch_debouncer_timeout_ms.unwrap_or(0.0),
)
})
.transpose()?;