|
|
|
@ -29,6 +29,8 @@ teardown() {
|
|
|
|
|
kill -9 %1
|
|
|
|
|
fg
|
|
|
|
|
|
|
|
|
|
# Also make sure to kill fswatch if on Mac
|
|
|
|
|
killall fswatch
|
|
|
|
|
# Make sure gitwatch script gets killed if script stopped background
|
|
|
|
|
# Must kill the entire tree of processes generated
|
|
|
|
|
pkill -15 -P "$GITWATCH_PID"
|
|
|
|
|