-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Description
Issue Type: Bug
Description of the problem:
When VS Code starts up, a notification (in the bottom right corner) appears saying "File changes watcher stopped unexpectedly. A reload of the window may enable the watcher again unless the workspace cannot be watched for changes."
Reloading the window does not fix the problem.
I can confirm that the file changes watcher is not working, because when I change a file, the Source Control list of changes does not update automatically like it used to. (When I manually click the refresh button on the Source Control panel, it does refresh and correctly report the change.) So I have to conclude that the Source Control panel is working correctly; it just doesn't get notified of a change by the File Changes Watcher.
This only started happening in the latest version (1.63). Version 1.62 seems to work correctly.
I have tried increasing my inotify number, but that doesn't solve it (cat /proc/sys/fs/inotify/max_user_watches reports 524288)
Steps to Reproduce:
- Start with an existing Linux Mint operating system
- Make sure VS Code is not installed ("apt purge code")
- Just to be sure, delete the .vscode folder in your home diroectory
- Just to be sure, delete the .config/Code folder in your home directory
- Install VS Code with "apt install code"
- This will install VS Code with no extra modules and not linked to any account.
- When VS Code opens, that notification will appear and file changes will not be noticed.
Expected results:
I want the file changes watcher to not stop, and as a result of that, I want the Source Control panel to automatically report changes
VS Code version: Code 1.63.0 (7db1a2b, 2021-12-07T05:16:45.441Z)
OS version: Linux x64 5.4.0-91-generic
Restricted Mode: No
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 2400) |
| GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: enabled_on rasterization: disabled_software skia_renderer: enabled_on video_decode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | 2, 3, 3 |
| Memory (System) | 15.41GB (0.32GB free) |
| Process Argv | --unity-launch /home/timk/Projects/crm --crash-reporter-id 3b22922c-1bb1-4a16-9314-3dce18cac82b |
| Screen Reader | no |
| VM | 0% |
| DESKTOP_SESSION | cinnamon |
| XDG_CURRENT_DESKTOP | X-Cinnamon |
| XDG_SESSION_DESKTOP | cinnamon |
| XDG_SESSION_TYPE | x11 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30384385
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsaa593cf:30376535
pythonvs932:30410667
vscop804cf:30404767
vscop341:30404997
vsrem710cf:30405999
vscexrecpromp3t2:30407763