To be more precise, it's updated but original files are copied over to tempDir and moved back in case of compilation errors.