maozhi_lin
(maozhi lin)
September 11, 2025, 3:17am
1
Feature request for product/service
Cursor IDE
Describe the request
VSCode has an option remote.WSL.fileWatcher.polling, I can’t find this option in Cursor, is it not supported?
I need this because I’m using WSL1 and WSL1 has a bug that file system can easily become out of sync if using inotify based file watcher. I have to reboot my computer every time it occurs, which drives me crazy.
opened 01:30AM - 24 May 19 UTC
closed 12:51PM - 01 Feb 24 UTC
bug
* Your Windows build number: (Type `ver` at a Windows Command Prompt)
`Microso… ft Windows [Version 10.0.18898.1000]`
* What you're doing and what's happening:
My setup:
- Mount location is changed from `/mnt` to `/`, so for example `C:\Users` is at `/c/Users`
- I have a directory containing source code for various projects under `C:\Users\account\dev`
- I have a symlink from `/c/Users/account/dev` to `/home/account/dev`
- I edit files under `~/dev` with editors in Windows, but run tests/servers/etc under WSL
Please note that I am *not* attempting to edit files under the WSL filesystem from windows; I am editing files in the Windows filesystem from windows and then accessing them from within WSL.
The specific problem I'm posting about is that occasionally when I'm editing files in IntelliJ, the content of the files will stop changing when viewed from WSL. This only started happening with the latest fast ring updates. I haven't noticed this happening with files edited by things other than IntelliJ, but around the latest update I switched to editing python/js with VS Code's remote WSL extension, so that could be a red herring.
If I restart LxssManager or reboot the computer, this is fixed for a while. I have not been able to identify anything specific that triggers this.
Another ongoing issue (which is not a WSL issue) is that editing files with IntelliJ resets their permissions to whatever the mask for the mounted drive is is. I assume (but have not confirmed) this is because IntelliJ writes to files by deleting and recreating them. This could be why only files edited in IntelliJ exhibit this problem.
The file content is the same no matter what method I use to open it (meaning git, with a WSL-side editor like vim, with cat, the binaries built by maven, etc).
* What's wrong / what should be happening instead:
Changes made to files in `C:\Users\account\dev` on Windows should be reflected immediately on `/c/Users/account/dev` in WSL..
ravirahman
(Ravi Rahman)
September 11, 2025, 4:42pm
3
Hi @maozhi_lin , thank you for this feature request. Are you able to upgrade to WSL2 or store the files on the linux side?