for (( ; ; )); do if curl "https://play.google.com/store/devices" -L -s --compressed | grep -q "exus 5" ; then echo "Nexus 5 is Launched" ; fi ; sleep 10 ; done ;<p>Enough said :D
If you're on a Mac I recommend using 'say' instead of 'echo'. Then you'll hear when it's finished instead of having to check the terminal (which kind of defeats the purpose)