I'm using vscode on a ssh remote server and I'm facing a problem: The changes are not showing in the file editor even if they appear in the source control: This is what shown in the file editor This is what shown when clicking on the changes in source control
This is only happens in one of the remote servers (let's say server A), when I'm using another remote server (server B), it works normally: This is what expected
I have tried to remove the ~/.vscode-server folders in the remote servers (A and B) but server A is still not working, and server B is still working fine.
I found the reason. This is related to this issue: https://github.com/microsoft/vscode/issues/146611
The reason is that the home directory on server A is a symlink to a mounted device. I therefore open the realpath of the home directory on server A and it worked now.