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

Function bindCLIShortcuts

packages/vite/src/node/server/index.ts:798–800  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

796 }
797 },
798 bindCLIShortcuts(options) {
799 bindCLIShortcuts(server, options)
800 },
801 async restart(forceOptimize?: boolean) {
802 if (!server._restartPromise) {
803 server._forceOptimizeOnRestart = !!forceOptimize

Callers

nothing calls this directly

Calls 1

bindCLIShortcutsFunction · 0.90

Tested by

no test coverage detected