Instantly sync updated pages when ticking off a task in a directive

This commit is contained in:
Zef Hemel
2023-08-05 21:09:41 +02:00
parent 2b62b898ce
commit 4af7afa4aa
4 changed files with 30 additions and 8 deletions
+3
View File
@@ -9,5 +9,8 @@ export function syncSyscalls(editor: Client): SysCallMapping {
"sync.hasInitialSyncCompleted": (): Promise<boolean> => {
return editor.syncService.hasInitialSyncCompleted();
},
"sync.scheduleFileSync": (_ctx, path: string): Promise<void> => {
return editor.syncService.scheduleFileSync(path);
},
};
}