feat: add plugin update tracking

This commit is contained in:
Peter Steinberger committed 2026-01-16 05:55:05 +00:00
1 parent d0c70178e0
commit 54ec14262b
12 files changed
+370 -7

No files matched your search

+2 -2
View File
@@ -102,7 +102,7 @@ export function ensureSkillsWatcher(params: { workspaceDir: string; config?: Cla
if (!watchEnabled) {
if (existing) {
watchers.delete(workspaceDir);
existing.timer && clearTimeout(existing.timer);
if (existing.timer) clearTimeout(existing.timer);
void existing.watcher.close().catch(() => {});
}
return;
@@ -115,7 +115,7 @@ export function ensureSkillsWatcher(params: { workspaceDir: string; config?: Cla
}
if (existing) {
watchers.delete(workspaceDir);
existing.timer && clearTimeout(existing.timer);
if (existing.timer) clearTimeout(existing.timer);
void existing.watcher.close().catch(() => {});
}