Now the script will launch the gitpod specific Forem url once the web server is ready. (#14697)

This commit is contained in:
Nick Taylor 2021-09-10 09:33:41 -04:00 committed by GitHub
parent d60d26b148
commit 41b3171dd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ tasks:
- command: >
gp await-port 3000 &&
printf "Waiting for Forem server ..." &&
until $(curl -sNL $(gp url 3000) | grep -q "DEV"); do printf '.'; sleep 5; done && echo "" &&
until $(curl -sNL $(gp url 3000) | grep -q "Forem"); do printf '.'; sleep 5; done && echo "" &&
gp preview $(gp url 3000)
github: