Skip to content

Why does Vitest Browser mode start two Vite servers #7259

Answered by hi-ogawa
maxpatiiuk asked this question in Q&A
Discussion options

You must be logged in to vote

Here is the rational and also the plan to be changed #6912

For plugin authors, I'd expect there no issue unless it relies on something global hack globalThis.__myPluginState. Currently each Vite server is loading a config file separately and thus plugins are instantiated separately, so it shouldn't break Vite/rollup plugin conventions.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maxpatiiuk
Comment options

Answer selected by maxpatiiuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants