(...listenSpec: ListenSpec)
| 988 | } |
| 989 | |
| 990 | start(...listenSpec: ListenSpec): Promise<void> { |
| 991 | if (!this.startPromise) { |
| 992 | this.startPromise = this._start(...listenSpec).catch(err => { |
| 993 | this.stop(); |
| 994 | throw err; |
| 995 | }); |
| 996 | } |
| 997 | return this.startPromise; |
| 998 | } |
| 999 | |
| 1000 | /** |
| 1001 | * Launches the `vercel dev` server. |