-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix: Vite dev server add searchForWorkspaceRoot #26036
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
Conversation
Passing run #44666 ↗︎Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
|||||||||||||||
|
Nice, thanks a lot! We will get one more ✅ and this can go in the next release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I realized this won't work as is, but can be fixed with a small change, see comment, thanks!
|
Nice - @mike-plummer can you take a quick 👀 , too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will merge this later today
|
We've actually got a real failure now, we may need to rework one test: https://app.circleci.com/pipelines/github/cypress-io/cypress/50439/workflows/06809a66-8100-450e-a443-61812ef1d6d0/jobs/2094959/tests#failed-test-0 I think it's now detecting the vite version in the main monorepo, not the stale version the test is supposed to be detecting. I don't expect this will happen in production, it's a side effect of us running tests against the non-built Cypress binary. Maybe someone internally can pick this up? I will try and take a look. |
|
Thank you @lmiller1990 ! |
|
Yep, pls wait around 2 weeks for the next release. |

Additional details
Because
server.fs.allowis defined, I need to detect workspace root correctly.https://vitejs.dev/config/server-options.html#server-fs-allow
Steps to test
Create monorepo with Vite app and test with Cypress.
How has the user experience changed?
PR Tasks
cypress-documentation?type definitions?