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

Method close

packages/vite/src/node/server/bundledDev.ts:324–328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322 }
323
324 async close(): Promise<void> {
325 this.memoryFiles.clear()
326 await this._devEngine?.close()
327 this.initialBuildCompleted = false
328 }
329
330 private storeOutputFiles(output: RolldownOutput['output']): void {
331 // NOTE: don't clear memoryFiles here as incremental build reuses the files

Callers

nothing calls this directly

Calls 2

closeMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected