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

fix(vite): support passing --watch to inferred vitest commands #23298

Merged
merged 1 commit into from
May 10, 2024

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented May 10, 2024

Current Behavior

We currently do not handle passing --watch when running inferred vitest commands

Expected Behavior

We should support handling --watch

Related Issue(s)

Fixes #23185

@Coly010 Coly010 requested a review from a team as a code owner May 10, 2024 11:02
@Coly010 Coly010 requested a review from JamesHenry May 10, 2024 11:02
Copy link

vercel bot commented May 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview May 10, 2024 11:17am

@Coly010 Coly010 self-assigned this May 10, 2024
@Coly010 Coly010 enabled auto-merge (squash) May 10, 2024 12:24
@Coly010 Coly010 merged commit 7cf09a6 into master May 10, 2024
6 checks passed
@Coly010 Coly010 deleted the vitest/support-watch branch May 10, 2024 12:32
FrozenPandaz pushed a commit that referenced this pull request May 13, 2024
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->
We currently do not handle passing `--watch` when running inferred
`vitest` commands

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
We should support handling `--watch`

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #23185

(cherry picked from commit 7cf09a6)
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vitest with Project Crystal does not work with watch flag
2 participants