* The address at which code-server can be accessed. Spawns code-server if it * has not yet been spawned.
()
| 54 | * has not yet been spawned. |
| 55 | */ |
| 56 | async address(): Promise<string> { |
| 57 | if (!this.process) { |
| 58 | this.process = this.spawn() |
| 59 | } |
| 60 | const { address } = await this.process |
| 61 | |
| 62 | return address |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * The workspace directory code-server opens with. |
no test coverage detected