Reimplemented sketchbook watcher.

Moved it to the frontend.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta
2021-02-02 11:48:52 +01:00
committed by Akos Kitta
parent 911875665d
commit b1ab6df8b7
17 changed files with 147 additions and 541 deletions

View File

@@ -42,10 +42,6 @@ export class NotificationServiceServerImpl implements NotificationServiceServer
this.clients.forEach(client => client.notifyConfigChanged(event));
}
notifySketchbookChanged(event: { created: Sketch[], removed: Sketch[] }): void {
this.clients.forEach(client => client.notifySketchbookChanged(event));
}
notifyRecentSketchesChanged(event: { sketches: Sketch[] }): void {
this.clients.forEach(client => client.notifyRecentSketchesChanged(event));
}