start_watching

Function start_watching 

Source
pub fn start_watching(
    app: &AppHandle,
    state: &FileWatcherState,
    dirs: Vec<String>,
) -> Result<(), String>
Expand description

Start watching the given directories for file changes. Debounces events and emits file-watcher-change to the frontend.