Function setup_file_watcher

Source
pub fn setup_file_watcher(
    state: Data<AppState>,
    path: &str,
) -> Result<RecommendedWatcher, Error>