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

Method close

packages/vite/src/node/preview.ts:86–86  ·  view source on GitHub ↗

* Stop the server.

()

Source from the content-addressed store, hash-verified

84 * Stop the server.
85 */
86 close(): Promise<void>
87 /**
88 * A connect app instance.
89 * - Can be used to attach custom middlewares to the preview server.

Callers 15

clearErrorOverlayFunction · 0.65
waitForSuccessfulPingFunction · 0.65
closeFunction · 0.65
disconnectFunction · 0.65
tryListenFunction · 0.65
bundleConfigFileFunction · 0.65
bindCLIShortcutsFunction · 0.65
actionFunction · 0.65
closeServerAndExitFunction · 0.65
buildEnvironmentFunction · 0.65
runBenchmarkFunction · 0.65
vitestSetup.tsFile · 0.65

Calls

no outgoing calls

Tested by 15

closeFunction · 0.52
closeFunction · 0.52
closeFunction · 0.52
closeFunction · 0.52
closeFunction · 0.52
closeFunction · 0.52
withBuildFunction · 0.52
withServeFunction · 0.52
closeFunction · 0.52
closeFunction · 0.52
closeFunction · 0.52
setupModuleRunnerFunction · 0.52