watcher
watcher copied to clipboard
Renaming a directory leads to incorrect getEventsSince result
Steps to repro
- Create a directory
foo(withfoo/App.jsinside) - Write a snapshot
- Rename directory
footobar - Call
getEventsSinceand notice these events in the resolved array:{ type: "delete", path: "foo" }{ type: "create", path: "foo/App.js" }<-- should bebar/App.js{ type: "create", path: "bar" }
Environment
@parcel/watcherv2.0.0-alpha.10- default backend
- macOS 10.15.7