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

Method close

packages/vite/src/node/server/hmr.ts:148–148  ·  view source on GitHub ↗

* Disconnect all clients, called when server is closed or restarted.

()

Source from the content-addressed store, hash-verified

146 * Disconnect all clients, called when server is closed or restarted.
147 */
148 close?(): Promise<unknown> | void
149
150 api?: Api
151}

Callers 15

runnerImportFunction · 0.65
createModuleRunnerTesterFunction · 0.65
closeMethod · 0.65
closeMethod · 0.65
closeFunction · 0.65
closeMethod · 0.65
createTestServerFunction · 0.65
watcher.spec.tsFile · 0.65

Calls

no outgoing calls

Tested by 7

createModuleRunnerTesterFunction · 0.52
createTestServerFunction · 0.52
createTestServerFunction · 0.52
runFunction · 0.52
[Symbol.asyncDispose]Function · 0.52
createServerWithPluginFunction · 0.52