tauri2使用fs的watch报错fs:watch “Command watch not found“
对应的issue:https://github.com/tauri-apps/plugins-workspace/issues/1674
这是因为需要在cargo.toml中添加watch属性:
tauri-plugin-fs = { version = "2.0.0-rc", features = ["watch"] }
之后就可以正常工作了
对应的issue:https://github.com/tauri-apps/plugins-workspace/issues/1674
这是因为需要在cargo.toml中添加watch属性:
tauri-plugin-fs = { version = "2.0.0-rc", features = ["watch"] }
之后就可以正常工作了