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

Feature request: replace "-w" CLI option to be "--watch" shorthand #3233

Closed
trevordmiller opened this issue Mar 31, 2017 · 5 comments
Closed

Comments

@trevordmiller
Copy link

Many CLIs use -w as a shorthand for --watch. Currently, the Jest CLI doesn't have a shorthand for --watch; it would be nice if -w could become the --watch shorthand, and the current -w (shorthand for --maxWorkers) could change to -m.

@rogeliog
Copy link
Contributor

I like this idea, -w feels natural for watch mode... Breaking change, but really interesting

@cpojer
Copy link
Member

cpojer commented Mar 31, 2017 via email

@trevordmiller
Copy link
Author

It's not about an individual project, but CLI use in general. -w for watch seems to be a standard:

etc.

@wtgtybhertgeghgtwtg
Copy link
Contributor

They do, and maybe jest should have, but it's a pretty trivial reason for a breaking change.

@trevordmiller
Copy link
Author

No worries, just thought I'd suggest it :) Thanks for all the great work with Jest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants