diff --git a/extension/src/experiments/data/index.ts b/extension/src/experiments/data/index.ts index 4616ca5b6c..0c5d0e59e7 100644 --- a/extension/src/experiments/data/index.ts +++ b/extension/src/experiments/data/index.ts @@ -40,7 +40,7 @@ export class ExperimentsData extends BaseData { }, { name: 'fullUpdate', process: () => this.update() } ], - ['dvc.lock', 'dvc.yaml', 'params.yaml'] + ['dvc.lock', 'dvc.yaml', 'params.yaml', '*.dvc'] ) this.watchExpGitRefs() diff --git a/extension/src/test/suite/experiments/data/index.test.ts b/extension/src/test/suite/experiments/data/index.test.ts index 6853dba01f..25c07301a2 100644 --- a/extension/src/test/suite/experiments/data/index.test.ts +++ b/extension/src/test/suite/experiments/data/index.test.ts @@ -62,7 +62,7 @@ suite('Experiments Data Test Suite', () => { join( dvcDemoPath, '**', - `{dvc.lock,dvc.yaml,params.yaml,nested${sep}params.yaml,summary.json}` + `{dvc.lock,dvc.yaml,params.yaml,*.dvc,nested${sep}params.yaml,summary.json}` ) ) }) @@ -134,14 +134,14 @@ suite('Experiments Data Test Suite', () => { join( dvcDemoPath, '**', - `{dvc.lock,dvc.yaml,params.yaml,nested${sep}params.yaml,summary.json}` + `{dvc.lock,dvc.yaml,params.yaml,*.dvc,nested${sep}params.yaml,summary.json}` ) ) expect(getFirstArgOfCall(mockCreateFileSystemWatcher, 1)).to.equal( join( dvcDemoPath, '**', - `{dvc.lock,dvc.yaml,params.yaml,nested${sep}params.yaml,new_params.yml,new_summary.json,summary.json}` + `{dvc.lock,dvc.yaml,params.yaml,*.dvc,nested${sep}params.yaml,new_params.yml,new_summary.json,summary.json}` ) ) })