Skip to content

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

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

Merged
merged 2 commits into from
Jun 6, 2025

Conversation

novemberborn
Copy link
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
24 checks passed
@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