Option to disable "smart" watcher #2887
cdimitroulas
started this conversation in
Ideas
Replies: 1 comment 10 replies
-
AVA is supposed to re-run all tests if it can't attribute a changed file to a single test. Is the problem here that it's only partially attributing the changes, or is there something else going on? Could you run watch mode with I assume this is with AVA 3? There are fixes in AVA 4 (pre-release) but I think those fix accidental re-runs of all tests, so that won't help here. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I often find that the "smart" watcher gets in my way and I'd rather just rerun all the tests anytime any file is changed.
For example, when writing integration tests Ava is often not able to determine that a file change actually affects a particular test and so then it decides not to run that test again. This results in me having to go to that terminal and hit "r + Enter" in order to manually tell Ava to rerun all the tests.
It would be great if there was a flag or option which would disable this "smart" behaviour of Ava's
--watch
mode. The result would be that any file change would trigger a full rerun of all the tests.Beta Was this translation helpful? Give feedback.
All reactions