MCPcopy Index your code
hub / github.com/coder/code-server / relaunch

Method relaunch

src/node/wrapper.ts:284–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

282 }
283
284 private async relaunch(): Promise<void> {
285 this.disposeChild()
286 try {
287 this.started = this._start()
288 await this.started
289 } catch (error: any) {
290 this.logger.error(error.message)
291 this.exit(typeof error.code === "number" ? error.code : 1)
292 }
293 }
294
295 public start(args: DefaultedArgs): Promise<void> {
296 // Our logger was created before we parsed CLI arguments so update the level

Callers 1

constructorMethod · 0.95

Calls 2

disposeChildMethod · 0.95
_startMethod · 0.95

Tested by

no test coverage detected