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

Function action

packages/vite/src/node/shortcuts.ts:132–134  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

130 key: 'r',
131 description: 'restart the server',
132 async action(server) {
133 await restartServerWithUrls(server)
134 },
135 },
136 {
137 key: 'u',

Callers

nothing calls this directly

Calls 8

restartServerWithUrlsFunction · 0.90
openBrowserFunction · 0.90
openBrowserMethod · 0.80
infoMethod · 0.65
printUrlsMethod · 0.65
clearScreenMethod · 0.65
closeMethod · 0.65
warnMethod · 0.65

Tested by

no test coverage detected