Replies: 1 comment 2 replies
-
This! I need this too. On the CI server it can take up to a minute for vite to be finished, and e2e will time out often on such waiting. Also: other steps like downloading the browsers take a lot of time, that's time that Vite could use precompiling and figure out all deps etc. It's surprisingly hard to find any information regarding not getting this lazy loaded start of the dev server. I want it to do all work eagerly, so unlazy start, slower cold start for less waiting in the browser. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm on a Vue project with Vite and Cypress. For CI, I need to start the dev server in test mode (
vite --mode test
) with some environment variable.The, when the dependencies and modules have finished compiling, I need to run the cypress script (
cypress run --browser chrome --headless
)So, is there anyway to detect it? Can't use the response code because returns 200 HTTP code directly. I'd like to avoid to manual parse the HTML and await to see some content
Thank you
Beta Was this translation helpful? Give feedback.
All reactions