contrib/hotreload: be quiet
This commit is contained in:
parent
3a3887b358
commit
30a26051aa
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ events=modify,create,delete,move
|
||||||
targets="themes/ plugins/"
|
targets="themes/ plugins/"
|
||||||
|
|
||||||
inotifywait -e "$events" -m -r $targets | while read line; do
|
inotifywait -e "$events" -m -r $targets | while read line; do
|
||||||
jobs
|
jobs >/dev/null # Reap status of any terminated job
|
||||||
if [ -z "$(jobs -p)" ]; then
|
if [ -z "$(jobs)" ]; then
|
||||||
(sleep 0.5 && pkill -USR1 koushin) &
|
(sleep 0.5 && pkill -USR1 koushin) &
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue