We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d061ac commit 5388eadCopy full SHA for 5388ead
1 file changed
src/notebooks/deepnote/deepnoteFileChangeWatcher.ts
@@ -368,16 +368,13 @@ export class DeepnoteFileChangeWatcher implements IExtensionSyncActivationServic
368
369
// Save to clear dirty state. VS Code serializes (same bytes) and sees the
370
// mtime from our recent write, so no "content is newer" conflict.
371
- this.markSelfWrite(fileUri);
372
try {
373
const saved = await workspace.save(notebook.uri);
374
if (!saved) {
375
- this.consumeSelfWrite(fileUri);
376
logger.warn(`[FileChangeWatcher] Save after sync write returned undefined: ${notebook.uri.path}`);
377
return;
378
}
379
} catch (saveError) {
380
381
logger.warn(`[FileChangeWatcher] Save after sync write failed: ${notebook.uri.path}`, saveError);
382
383
} catch (serializeError) {
0 commit comments