EACCES when renaming folder that is being watched from nodejs #3395
Comments
this does not work for me// settings.json
{
"remote.WSL.fileWatcher.polling": true
}but this is helped// settings.json
{
"files.watcherExclude": {
"**/**/*": true
}
} |
|
@qwabra I tried your approach and even that doesn't work. I tried: then then both. None of this works for me. Can anyone please help? |
|
This is pretty annoying... for now I just close VS code since the file watcher has a lock on the files, do file work in terminal or file explorer and reopen when done with |
|
Why is the workaround from #3395 (comment) not explicitly stated in the VS Code docs section about known WSL limitations? It should note that all workspace files must be excluded from being watched otherwise the problem will persist… |
you can just open it can be set locally(use workspace settings) |
|
something is fundamentally broken here. while having my remote-wsl workspace open in vscode, i get the following in a command prompt: that means the windows kernel has every single one of the files in my workspace open. i have the following in my |
Thank you. This also solved my problem in installing go tools on WSL. |
|
// settings.json (located in %appdata%/code/user/settings.json) After saving it, restart VsCode. |


Microsoft Windows [Version 10.0.17134.112]
I am trying to use
chokidar, a popular nodejs file system watcher library.Whenever I use chokidar to listen for file system changes, I can no longer rename folders that lie within the folder being watched.
npm install chokidarmkdir testecho hello > test/test.txtrepro.js:WSL (Ubuntu 18.04):

Ubuntu 18.04:

I don't think it is terribly important (other colleagues are able to reproduce with other node versions), but I am using nodejs
v8.11.3The text was updated successfully, but these errors were encountered: