* Stable identity for a dev container so repeat requests reuse the same running * container. A service is unique by name; a root (non-service) deploy is unique * by its work directory.
(options: StartDevServerOptions)
| 424 | * by its work directory. |
| 425 | */ |
| 426 | function containerReuseKey(options: StartDevServerOptions): string { |
| 427 | return options.service?.name ?? `root:${options.workPath}`; |
| 428 | } |
| 429 | |
| 430 | /** |
| 431 | * Start a container service locally for `vercel dev`, reusing an already-running |