Skip to content

Remove special .only() behavior in watch mode - #3381

Merged
novemberborn merged 2 commits into
mainfrom
watch-mode-only-behavior
Jun 6, 2025
Merged

novemberborn merged 2 commits into
mainfrom
watch-mode-only-behavior

Conversation

@novemberborn

Copy link
Copy Markdown
Member

This is a historical feature back from when AVA tried to persist "runExclusive" during regular runs. This behavior
conflicts with interactive mode, and in any case interactive mode makes it easier to focus on a specific test file or
title.

Originally part of #3372 but it's a significant enough change that it deserves to be its own PR.

Still, should ship alongside those changes.

This is a historical feature back from when AVA tried to persist "runExclusive" during regular runs. This behavior
conflicts with interactive mode, and in any case interactive mode makes it easier to focus on a specific test file or
title.
This is a newer flag, previously used for line number selection. It's a better choice than overloading the `exclusive` flag used with `.only()`.
@novemberborn
novemberborn merged commit 29cb29a into main Jun 6, 2025
@novemberborn
novemberborn deleted the watch-mode-only-behavior branch June 6, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant