vitest-preview icon indicating copy to clipboard operation
vitest-preview copied to clipboard

Add the ability to run the server from code

Open DiFuks opened this issue 2 years ago • 1 comments

We are developing an analogue of create-react-app in our company. And we want to add vitest-preview to it. There is currently no way to run the server from code.

Sample:

import { startServer } from 'vitest-preview/node';

startServer();

DiFuks avatar Jun 06 '23 11:06 DiFuks

Hi @DiFuks. Currently, we don't have this feature available yet. We can consider to add it in the future. We will let you know if there is any update on this. Any contributions are welcome.

nvh95 avatar Jul 26 '23 03:07 nvh95