Skip to main content

watched

Function watched 

Source
fn watched(target: &Path) -> (PathBuf, RecursiveMode)
Expand description

Where saves show up: a project’s whole folder, where files can also be added or removed, or the folder holding a single file. Watching a folder rather than files catches editors that save by replacing the file.