-
Notifications
You must be signed in to change notification settings - Fork 47
Locks folders (cannot rename/delete) on Windows #101
Comments
I get this error while deleting:
|
It appears that the call to ReadDirectoryChangesW is locking the monitored directory. This is a quirk of Windows. Because PathWatcher.watch isn't recursive, each sub directory that is also monitored will also be locked. I think a solution would be to implement a recursive version of PathWatcher.watch. This way only the top level directory will be locked and all of the sub directories will no longer be locked. |
@andreialecu - we have a new file watcher system that's not enabled by default but is available at |
ahh sorry - was just chatting with another maintainer and see that using the new file watcher setting won't help with atom/atom#3365 because the tree view would also need to be updated to use the new file watcher system. Since the team will use atom/atom#3365 to track the issue, we're going to go ahead and close this in favor of atom/atom#3365. |
I believe this module may cause the problems in:
atom/atom#3365
It appears that libuv has fixed this a while ago:
nodejs/node#375
I think this means that recursive
fs.watch
that does not lock any folder should now be available in node core.Can this module be fixed? Alternatively, could it be replaced with something like chokidar instead?
What does this module do that others don't?
The text was updated successfully, but these errors were encountered: