MCPcopy
hub / github.com/vitejs/vite / serve

Function serve

playground/tsconfig-json-load-error/__tests__/serve.ts:6–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4export let serveError: Error | undefined
5
6export async function serve() {
7 try {
8 await startDefaultServe()
9 } catch (e) {
10 serveError = e
11 }
12}
13
14export function clearServeError() {
15 serveError = undefined

Callers

nothing calls this directly

Calls 1

startDefaultServeFunction · 0.85

Tested by

no test coverage detected