mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-15 02:11:45 +03:00
exec prevents the cleanup trap from hitting
This commit is contained in:
parent
038f6885bb
commit
d4ce490756
@ -27,9 +27,10 @@ EOF
|
||||
./script/serve.sh public &
|
||||
SERVER_PID=$!
|
||||
cleanup() {
|
||||
echo "hi"
|
||||
kill "$SERVER_PID"
|
||||
}
|
||||
trap cleanup EXIT INT
|
||||
|
||||
# start a watcher. This loops forever, so we don't need to loop ourselves.
|
||||
exec watchexec --clear --postpone -- shake --compact "$SHAKE_TARGET"
|
||||
watchexec --clear --postpone -- shake --compact "$SHAKE_TARGET"
|
||||
|
Loading…
Reference in New Issue
Block a user