Files
tauri-plugins-workspace/.changes/fs-watcher.md
T
Lucas Fernandes Nogueira fdfb35e531 refactor(fs)!: return Watcher from watch and watchImmediate (#3610)
* 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
2026-09-22 06:06:50 -03:00

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.