Skip to content

Commit

Permalink
update hotreload.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kfatyuip committed Aug 22, 2024
1 parent 7ec5087 commit 68245d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/hotreload.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

for pid in $(ls /tmp/zest.pid); do
[[ -z $TMPDIR ]] && TMPDIR=/tmp

for pid in $(ls $TMPDIR); do
kill -SIGHUP $pid
done

0 comments on commit 68245d2

Please sign in to comment.