mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c5920513a1
* Currently the tunnel `setup/wait/stop` files always have different names like `sauce_connect_block` or just `waitfor_tunnel`.
16 lines
258 B
Bash
Executable File
16 lines
258 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -o pipefail
|
|
|
|
|
|
echo "Shutting down Browserstack tunnel"
|
|
|
|
killall BrowserStackLocal
|
|
|
|
while [[ -n `ps -ef | grep "BrowserStackLocal" | grep -v "grep"` ]]; do
|
|
printf "."
|
|
sleep .5
|
|
done
|
|
|
|
echo ""
|
|
echo "Browserstack tunnel has been shut down" |