We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e32c4 commit 3bb2c56Copy full SHA for 3bb2c56
src/commands/compile.ts
@@ -351,6 +351,10 @@ export async function importAndCompile(
351
fileSystemProvider.fireFileChanged(file.uri);
352
}
353
354
+ } else if (file.uri.scheme === FILESYSTEM_SCHEMA || file.uri.scheme === FILESYSTEM_READONLY_SCHEMA) {
355
+ // Fire the file changed event to avoid VSCode alerting the user on the next folder-specific save (e.g. of settings.json) that
356
+ // "The content of the file is newer."
357
+ fileSystemProvider.fireFileChanged(file.unredirectedUri ?? file.uri);
358
359
});
360
0 commit comments