If it's happening to every file when edited, it's likely a system-related issue (e.g. a permission issue that's preventing the files from being saved to disk). I'd recommend moving the project folder into a different location, like your desktop or documents folder, to see if it helps having them in a place where your Windows account should for sure have access to.