mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
* refactor(fs)!: return Watcher from watch and watchImmediate Both resolve to a `Watcher` resource instead of an `UnwatchFn` callback; call `await watcher.close()` to stop watching. `UnwatchFn` is removed and `Watcher` is now exported. * fix change file * fmt
267 B
267 B
fs, fs-js
| fs | fs-js |
|---|---|
| major | major |
Breaking: watch and watchImmediate now resolve to a Watcher resource instead of an UnwatchFn callback. Call await watcher.close() to stop watching. The UnwatchFn type has been removed and Watcher is now exported.