From 81def417cdb9865a241797d178be77c1424cb82b Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 10 Apr 2025 20:31:06 +0800 Subject: [PATCH] Remove async from `watch` --- plugins/fs/src/watcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fs/src/watcher.rs b/plugins/fs/src/watcher.rs index c175566b..69f12e42 100644 --- a/plugins/fs/src/watcher.rs +++ b/plugins/fs/src/watcher.rs @@ -37,7 +37,7 @@ pub struct WatchOptions { } #[tauri::command] -pub async fn watch( +pub fn watch( webview: Webview, paths: Vec, options: WatchOptions,