tauri-apps / tauri-apps/plugins-workspace
[bug] watchImmediate reports invalid event type for deleted files on MacOS
Open
platform: macos
plugin: fs
type: bug
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
1. Set up watchImmediate for a directory and log events
2. Delete any file in the directory
Expected: `("remove" in event.kind) === true`
Got: `{type: {modify: {kind: "rename", mode: "any"}}, paths: ["/path/to/the/file/that/it/deleted"], attrs: {}}`
Not sure that this is the intended behavior.
Contributor guide
Assessment
This issue has not been assessed yet.