Last active
June 4, 2019 00:49
-
-
Save jcollum/79e204028588b39aad1f09c19e4b3478 to your computer and use it in GitHub Desktop.
wait for site to come up (bash, curl)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# wait a little for the server to come up | |
until curl 'http://localhost:3000/foo' -s -f -o /dev/null; do | |
sleep 2; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment