fix: allow skills watcher ignore list

This commit is contained in:
Peter Steinberger
2026-01-17 08:12:39 +00:00
parent 616ee3075c
commit a2a6893566

View File

@@ -26,11 +26,12 @@ const workspaceVersions = new Map<string, number>();
const watchers = new Map<string, SkillsWatchState>();
let globalVersion = 0;
export const DEFAULT_SKILLS_WATCH_IGNORED = [
export const DEFAULT_SKILLS_WATCH_IGNORED: RegExp[] = [
/(^|[\\/])\.git([\\/]|$)/,
/(^|[\\/])node_modules([\\/]|$)/,
/(^|[\\/])dist([\\/]|$)/,
] as RegExp[];
];
];
function bumpVersion(current: number): number {
const now = Date.now();