mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-10 10:58:33 +00:00
feat: configure sketchbook location without restart
Closes #1764 Closes #796 Closes #569 Closes #655 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -5,7 +5,7 @@ import type {
|
||||
AttachedBoardsChangeEvent,
|
||||
BoardsPackage,
|
||||
LibraryPackage,
|
||||
Config,
|
||||
ConfigState,
|
||||
Sketch,
|
||||
ProgressMessage,
|
||||
IndexUpdateWillStartParams,
|
||||
@@ -19,6 +19,10 @@ export class NotificationServiceServerImpl
|
||||
{
|
||||
private readonly clients: NotificationServiceClient[] = [];
|
||||
|
||||
notifyDidReinitialize(): void {
|
||||
this.clients.forEach((client) => client.notifyDidReinitialize());
|
||||
}
|
||||
|
||||
notifyIndexUpdateWillStart(params: IndexUpdateWillStartParams): void {
|
||||
this.clients.forEach((client) => client.notifyIndexUpdateWillStart(params));
|
||||
}
|
||||
@@ -69,7 +73,7 @@ export class NotificationServiceServerImpl
|
||||
);
|
||||
}
|
||||
|
||||
notifyConfigDidChange(event: { config: Config | undefined }): void {
|
||||
notifyConfigDidChange(event: ConfigState): void {
|
||||
this.clients.forEach((client) => client.notifyConfigDidChange(event));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user