-
-
Notifications
You must be signed in to change notification settings - Fork 607
Closed
Labels
Description
When deleting an empty directory, I get an unexpected error event. If the same directory has any kind of content (other than empty directories), the expected unlinkDir event is triggered without an error.
- OS: Windows 10 Pro
- node: 4.3.1
- npm: 3.7.3
- I'm using glob-watcher (3.0.0), which gives me a chokidar (1.6.1) instance.
The console output:
events.js:141
throw er; // Unhandled 'error' event
^
Error: watch null EPERM
at exports._errnoException (util.js:870:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1217:21)
The directory is deleted by selecting it in Windows Explorer and pressing delete.
Is this a bug? or the expected behavior I need to account for with the error event?
Reactions are currently unavailable