Skip to content

Commit 94bf9da

Browse files
authored
Watch Git tags for experiment table updates (#4911)
1 parent 5770507 commit 94bf9da

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

extension/src/cli/git/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export const gitPath = {
66
DOT_GIT_INDEX: 'index',
77
GIT_LOGS_REFS: join('logs', 'ref'),
88
GIT_REFS: 'refs',
9+
GIT_TAGS_REFS: join('refs', 'tags'),
910
HEADS_GIT_REFS: 'heads'
1011
} as const
1112

extension/src/experiments/data/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ export class ExperimentsData extends BaseData<ExperimentsOutput> {
234234
gitPath.DOT_GIT_HEAD,
235235
EXPERIMENTS_GIT_REFS,
236236
EXPERIMENTS_GIT_LOGS_REFS,
237-
gitPath.HEADS_GIT_REFS
237+
gitPath.HEADS_GIT_REFS,
238+
gitPath.GIT_TAGS_REFS
238239
]
239240

240241
return createFileSystemWatcher(

0 commit comments

Comments
 (0)