fix: clear cache on overrides change

This commit is contained in:
2026-03-05 08:39:27 +02:00
parent cae81f1e00
commit 2566fba03a

View File

@@ -60,6 +60,7 @@ export function githubProjectsLoader(opts: LoaderOptionsType): Loader {
watcher?.on('change', async (filename) => {
if (path.dirname(filename) === (opts.overridesDir ?? defaultOverridesDir)) {
logger.log('Change detected:', filename)
meta.delete('lastUpdated')
await reloadProjects({ store, meta }, opts)
}
})