-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Steps:
- setup parcel watcher according to docs, simply watching a folder [1]
- create a sub-folder in that watched folder
- create a file in that sub-folder
- from the finder (macOS) or explorer (Windows) delete the sub-folder
- => you get a delete event for that folder
- undo the operation from the finder / explorer
- => you get a create event but only for the folder, not for the files within
[1]
const watcher = require('@parcel/watcher');
const path = require('path');
async function main() {
// Subscribe to events
let subscription = await watcher.subscribe(process.cwd(), (err, events) => {
console.log(events);
});
}
main();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels