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

Method restart

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

* Restart the server. * * @param forceOptimize - force the optimizer to re-bundle, same as --force cli flag

(forceOptimize?: boolean)

Source from the content-addressed store, hash-verified

424 * @param forceOptimize - force the optimizer to re-bundle, same as --force cli flag
425 */
426 restart(forceOptimize?: boolean): Promise<void>
427 /**
428 * Open browser
429 */

Callers 3

restartServerWithUrlsFunction · 0.80
shortcuts.spec.tsFile · 0.80
testClientReloadFunction · 0.80

Calls

no outgoing calls

Tested by 1

testClientReloadFunction · 0.64