fix build in embedded_watcher

This commit is contained in:
lielfr 2025-05-09 04:19:38 +03:00
parent af99513005
commit ec47b4cdcd

View File

@ -39,7 +39,12 @@ impl EmbeddedWatcher {
root_paths,
last_event: None,
};
let watcher = new_asset_event_debouncer(root, debounce_wait_time, handler).unwrap();
let watcher = new_asset_event_debouncer(
root.to_string_lossy().to_string(),
debounce_wait_time,
handler,
)
.unwrap();
Self { _watcher: watcher }
}
}