What is the propper way to close/stop a vite preview server, started programatically with "preview"? #15576
-
I currently have: import { preview } from 'vite';
const previewServer = await preview();
// Do stuff
previewServer.httpServer.close(); But I'm not sure it's enough to free up the port after use. Also, the Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@alexbjorlig the Preview server doesn't have a |
Beta Was this translation helpful? Give feedback.
Sure, I added a feature request here