Use `watch` to keepalive stdout while installing.

Jordan Harband 2016-08-14 15:40:39 -07:00
parent 88ce2103f5
commit 32a1b4124c
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ watch() {
$@ & $@ &
local JOB local JOB
JOB=$! JOB=$!
while true; do sleep 15; echo '* ping *'; done & while true; do sleep 15; >&2 echo '* ping *'; done &
wait $JOB; wait $JOB;
local EXIT_CODE local EXIT_CODE
EXIT_CODE=$? EXIT_CODE=$?