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

docs(cli): suggest --run flag when using vitest related with lint-staged #2704

Merged
merged 2 commits into from
Jan 23, 2023

Conversation

mkermani144
Copy link
Contributor

Without passing --run to vitest related, if it runs in non-ci environments, it causes the lint-staged command not to exit because of vitest watch mode. In the docs, suggest using the mentioned xargument to prevent probable issues.

…nt-staged`

Without passing `--run` to `vitest related`, if it runs in non-ci environments, it causes the `lint-staged` command not to exit because of `vitest` watch mode. In the docs, suggest using the mentioned xargument to prevent probable issues.
docs/guide/cli.md Outdated Show resolved Hide resolved
@sheremet-va sheremet-va changed the title docs(cli): suggest using --run when using vitest related with lint-staged docs(cli): suggest --run flag when using vitest related with lint-staged Jan 23, 2023
@sheremet-va sheremet-va merged commit 8c625d2 into vitest-dev:main Jan 23, 2023
@mkermani144 mkermani144 deleted the patch-2 branch January 24, 2023 05:17
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.

3 participants