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

Method start

src/node/wrapper.ts:295–306  ·  view source on GitHub ↗
(args: DefaultedArgs)

Source from the content-addressed store, hash-verified

293 }
294
295 public start(args: DefaultedArgs): Promise<void> {
296 // Our logger was created before we parsed CLI arguments so update the level
297 // in case it has changed.
298 this.logger.level = logger.level
299
300 // Store for relaunches.
301 this.args = args
302 if (!this.started) {
303 this.started = this._start()
304 }
305 return this.started
306 }
307
308 private async _start(): Promise<void> {
309 const child = this.spawn()

Callers 1

entryFunction · 0.80

Calls 1

_startMethod · 0.95

Tested by

no test coverage detected