I have some NFS shares exported on my server (13.1-RELEASE), and one of them exports my code to my workstation. I primarily use the
I was using 14.0-CURRENT earlier, but as a moderator pointed out, issues such as that are to be expected. I hoped that downgrading would resolve this issue, but it did not (my other issue was fixed though!)
I've noticed a few quirks, and I have been able to reproduce them using other editors (
The process goes as follows:
This issue has persisted across multiple installs of FreeBSD on my workstation, but my server has always been FreeBSD. I did not experience this issue under Linux.
I have the
I have full permissions over the remote directory, and I have tried tinkering with the mount options to make sure I cover everything. I have tried:
I can confirm that all of the issues specified here also happen in the
I've scoured the web for any related issues, I've checked the VSCode Github just in case there's anything I'm missing, I can't find anything. I have also asked in the FreeBSD Discord, and nobody had many ideas either.
I believe it's an issue with how I'm mounting the share on the client, or something along those lines, but I can't figure out what I'm missing. I'd greatly appreciate any pointers, help, or even ideas - I'm almost completely out of them. Thank you
vscode
package for editing my code. My workstation is also running FreeBSD.I was using 14.0-CURRENT earlier, but as a moderator pointed out, issues such as that are to be expected. I hoped that downgrading would resolve this issue, but it did not (my other issue was fixed though!)
I've noticed a few quirks, and I have been able to reproduce them using other editors (
helix
being the main one). Within VSCode, the "source control"/git area does not automatically update - I must manually hit the refresh button for my changes to show.The process goes as follows:
- Open an NFS-mounted directory
- Change some of the code
- Save the file
- Git should automatically refresh within VSCode, but it doesn't
- Manually hitting the refresh button does the trick
This issue has persisted across multiple installs of FreeBSD on my workstation, but my server has always been FreeBSD. I did not experience this issue under Linux.
I have the
nfs
shares mounted via fstab:
Code:
192.168.0.26:/share/code /mnt/code nfs rw,bg,failok,nfsv4 0 0
I have full permissions over the remote directory, and I have tried tinkering with the mount options to make sure I cover everything. I have tried:
- soft/hard
- TCP/UDP
- noatime
- async/sync
- many, many others
I can confirm that all of the issues specified here also happen in the
helix
editor as well. I could have a file open, change+save it, discard within git and those changes would not show once I re-open the file.I've scoured the web for any related issues, I've checked the VSCode Github just in case there's anything I'm missing, I can't find anything. I have also asked in the FreeBSD Discord, and nobody had many ideas either.
I believe it's an issue with how I'm mounting the share on the client, or something along those lines, but I can't figure out what I'm missing. I'd greatly appreciate any pointers, help, or even ideas - I'm almost completely out of them. Thank you
