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

Turn on Continuous Run not picking up changes? #565

Open
4 tasks done
ajthinking opened this issue Dec 29, 2024 · 2 comments
Open
4 tasks done

Turn on Continuous Run not picking up changes? #565

ajthinking opened this issue Dec 29, 2024 · 2 comments

Comments

@ajthinking
Copy link

ajthinking commented Dec 29, 2024

Describe the bug

After pressing the Turn on Continuous Run button in the test explorer for my test file dummy.test.ts and changing the values:

it('can watch', () => {
  expect(1).toBe(2)
})

Nothing happens. Clicking to run manually works fine.
Possible cause: Im in a monorepo (minified repo)

Reproduction

Clone: https://github.com/ajthinking/vitest-watch-bug
Install: yarn
Click to watch dummy.test.ts

Output

The test run did not record any output.

Extension Version

1.8.5

Vitest Version

^2.1.8

Validations

@sheremet-va
Copy link
Member

The test run did not record any output.

This is a lie. If extension was initialised, it will at least report "Vitest extension is activated". Why do you need multiple configs?

Reproduction works fine for me. Please, when sumbiting a bug report, read the template:

The content of "Output" tab. You can open this tab by typing "> Show Vitest Output Channel" in a search bar or pressing "See error" on an error message if there is one. Your issue will be closed if you do not provide the full output (starting with Vitest version) - do not remove any "irrelevant" information - the maintainer will decide if it is valuable or not.

Copy link

github-actions bot commented Jan 9, 2025

Hello @ajthinking. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with needs reproduction will be closed if they have no activity within 3 days.

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

2 participants