Skip to main content

rearm_watches

Function rearm_watches 

Source
fn rearm_watches(
    watcher: &mut impl Watcher,
    file_paths: &[PathBuf],
    old: WatchTargets,
) -> WatchTargets
Expand description

Re-resolves file_paths and updates the watched directories, returning the new targets. Failures are logged and retried on the next event that matches a chain entry.