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
7 lines
267 B
Markdown
7 lines
267 B
Markdown
---
|
|
"fs": major
|
|
"fs-js": 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.
|