start_watcher takes handle: tauri::AppHandle by value, then immediately did let handle = handle.clone() before moving it into the file-watcher closure. The intermediate clone has no purpose: the parameter is unused outside the closure, so the move can take it directly. https://claude.ai/code/session_01Vk2NBZGFP3YVshDj1CwDjt |
||
|---|---|---|
| .. | ||
| tauri | ||