visual studio code – Failed to save …: The content of the file is newer. Please compare your version with the file contents

This happened yesterday night. So i realised that vscode was not ‘saving’ the updated code that I just wrote. At first I thought that it was an issue from Nodemon, but then I realised that the issue is from VSCODE. after closing vscode and going back to it, I saw these 2 notification(bottom right) telling me that the changes could not be saved and the code were still ‘stuck’ at the previous version. enter image description here

To provide more context, I am coding in WSL and I set my files.autoSave to afterDelay and this issue is so bad that even when i delete entire files, i can still call for certain requests. Please lmk if yall hv any ideas or if yall need anymore context. Happy new Year!

Read more here: Source link