Skip to content

Remove no-watch flag in favor of watchAll=false #6848

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 19, 2019
Merged

Remove no-watch flag in favor of watchAll=false #6848

merged 1 commit into from
Apr 19, 2019

Conversation

bugzpodder
Copy link

yarn test --watchAll=false or npm test -- --watchAll=false is already sufficient for running tests in non-watch mode. Both does the same thing as the current --no-watch flag.

@bugzpodder
Copy link
Author

#6284

@mrmckeb
Copy link
Contributor

mrmckeb commented Apr 19, 2019

While this is true, I feel like having to set pass a flag as false feels counter-intuitive... like having to set a boolean prop to false in React.

If the rest of the team are in favour of this, I think this should be in 3.0.

@mrmckeb mrmckeb added this to the 3.0 milestone Apr 19, 2019
@mrmckeb mrmckeb merged commit 200b98b into facebook:master Apr 19, 2019
@lock lock bot locked and limited conversation to collaborators Apr 24, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants