uky-web / uky_platform_dev_tools

0 stars 0 forks source link

Command "await-port" is deprecated, please use `ports await` instead. #10

Closed justin-sumner closed 10 months ago

justin-sumner commented 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