Skip to content

Commit bf17d20

Browse files
committed
fix: remove noCache override for menubar-json format
Source cache fixes (empty-session guards, date range reordering) make the cache safe for menubar use. Forcing noCache on every 15s poll was re-parsing 5800+ files each time, causing the menubar to hang.
1 parent 78438e5 commit bf17d20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ program
388388
.option('--no-cache', 'Rebuild the parsed source cache for this run')
389389
.action(async (opts) => {
390390
await loadPricing()
391-
const noCache = noCacheRequested(opts) || opts.format === 'menubar-json'
391+
const noCache = noCacheRequested(opts)
392392
const parseOptions = buildParseOptions(noCache, opts.format === 'terminal')
393393
const pf = opts.provider
394394
const fp = (p: ProjectSummary[]) => filterProjectsByName(p, opts.project, opts.exclude)

0 commit comments

Comments
 (0)