(As reported and complained about by @digama0, @ChrisHughes24, @kckennylau in Amsterdam.)
Apparently, on windows vscode changes the line-endings of a file when sending it to the server (as compared to the on-disk copy). This seems to happen when the on-disk file has CR-LF endings. Then the server thinks the file has changed and will recompile everything.
As a workaround, we just ignore CR when checking whether a file is changed. (This doesn't affect command-line usage, which depends on timestamps.)
(As reported and complained about by @digama0, @ChrisHughes24, @kckennylau in Amsterdam.)
Apparently, on windows vscode changes the line-endings of a file when sending it to the server (as compared to the on-disk copy). This seems to happen when the on-disk file has CR-LF endings. Then the server thinks the file has changed and will recompile everything.
As a workaround, we just ignore CR when checking whether a file is changed. (This doesn't affect command-line usage, which depends on timestamps.)