Instantly sync updated pages when ticking off a task in a directive
This commit is contained in:
@@ -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);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user