Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch all dvc.yamls for changes to plots #1822

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Jun 2, 2022

Relates to #1797.

I did not setup the scenario correctly when I previously tried to fix this issue. If there are actually no plots on the checked-out branch then no paths are being watched. This meant that the watcher did not fire when moving back to main/a branch that has plots. Watching all dvc.yamls for changes will actually fix the issue and will fix another issue for new projects without plots as well.

Demo

Screen.Recording.2022-06-03.at.5.29.07.am.mov

@mattseddon mattseddon added the bug Something isn't working label Jun 2, 2022
@mattseddon mattseddon self-assigned this Jun 2, 2022
@mattseddon mattseddon force-pushed the watch-dvc-yaml-for-plots-changes branch from 27f588f to 5c0f161 Compare June 2, 2022 18:59
@codeclimate
Copy link

codeclimate bot commented Jun 2, 2022

Code Climate has analyzed commit 5c0f161 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.8% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon marked this pull request as ready for review June 2, 2022 19:32
@mattseddon mattseddon merged commit 3240d23 into main Jun 2, 2022
@mattseddon mattseddon deleted the watch-dvc-yaml-for-plots-changes branch June 2, 2022 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants