Closed justin-sumner closed 10 months ago
https://www.gitpod.io/docs/references/gitpod-cli#await When writing tasks to be executed on workspace start, one sometimes wants to wait for an http service to be available. gp ports await does that.
Here’s an example that will open a certain path once a service is a available:
gp ports await 3000 && gp preview $(gp url 3000)/my/path/index.html
https://www.gitpod.io/docs/references/gitpod-cli#await
When writing tasks to be executed on workspace start, one sometimes wants to wait for an http service to be available. gp ports await does that.
Here’s an example that will open a certain path once a service is a available:
gp ports await 3000 && gp preview $(gp url 3000)/my/path/index.html