Skip to content

Commit 3240d23

Browse files
authored
Watch all dvc.yamls for changes to plots (#1822)
1 parent fdc7d15 commit 3240d23

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

extension/src/plots/data/index.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,18 @@ export class PlotsData extends BaseData<{ data: PlotsOutput; revs: string[] }> {
1717
internalCommands: InternalCommands,
1818
updatesPaused: EventEmitter<boolean>
1919
) {
20-
super(dvcRoot, internalCommands, updatesPaused, [
21-
{
22-
name: 'update',
23-
process: () => this.update()
24-
}
25-
])
20+
super(
21+
dvcRoot,
22+
internalCommands,
23+
updatesPaused,
24+
[
25+
{
26+
name: 'update',
27+
process: () => this.update()
28+
}
29+
],
30+
['dvc.yaml']
31+
)
2632
}
2733

2834
public async update(): Promise<void> {

0 commit comments

Comments
 (0)