Skip to content

FileSystemWatcher not working on remote machine #250736

Closed as not planned
Closed as not planned
@bzy-debug

Description

@bzy-debug

Type: Bug

  1. package https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-sample extension
  2. connect to a remote ssh machine through Remote - SSH extension
  3. install the extension packaged from step 1 on remote vscode
  4. add "languageServerExample.trace.server": "verbose" setting to remote vscode settings
  5. create a .txt file to activate the installed lsp-sample extension, and open Language Server Example channel on output.
  6. create a file named .clientrc, this is marked as watched files in the lsp-sample extension
  7. see that there is no didChangeWatchedFiles notification from client to server in the channel opend on step 5.

VS Code version: Code 1.100.2 (Universal) (848b80a, 2025-05-14T21:47:40.416Z)
OS version: Darwin arm64 24.5.0
Modes: Unsupported
Remote OS version: Linux x64 5.15.0-97-generic

System Info
Item Value
CPUs Apple M3 Max (16 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 3
Memory (System) 128.00GB (59.96GB free)
Process Argv --new-window --crash-reporter-id 49131e3e-7370-46e1-a7b2-f54f9b7d20d4
Screen Reader no
VM 0%
Item Value
Remote SSH: ci0-linux2
OS Linux x64 5.15.0-97-generic
CPUs Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz (112 x 3113)
Memory (System) 251.55GB (213.21GB free)
VM 0%
Extensions (5)
Extension Author (truncated) Version
remote-ssh ms- 0.120.0
remote-ssh-edit ms- 0.87.0
remote-explorer ms- 0.5.0
vscode-language-pack-zh-hans MS- 1.100.2025051409
lsp-sample vsc 1.0.0
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
jjjhb125:31275178
pylancecolor:31314202
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004
xtab274-41mini:31318792

Metadata

Metadata

Assignees

Labels

file-watcherFile watcherinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions