reordered fswatch kill

bugfix-109-spaces
Dave Musicant (home machine) 1 year ago
parent 532cae8610
commit 05c9450fd3

@ -82,8 +82,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup upterm session
uses: lhotari/action-upterm@v1
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1
- name: Run tests
shell: bash

@ -29,10 +29,10 @@ teardown() {
echo "Process id again $GITWATCH_PID" >&3
# Make sure gitwatch script gets killed if script stopped background
# Also make sure to kill fswatch if on Mac
killall fswatch
# Must kill the entire tree of processes generated
pkill -15 -P "$GITWATCH_PID"
# Also make sure to kill fswatch if on Mac
killall -9 fswatch
echo '# Teardown complete' >&3
}

Loading…
Cancel
Save