|
|
@@ -6,8 +6,8 @@ events=modify,create,delete,move |
|
|
|
targets="themes/ plugins/" |
|
|
|
|
|
|
|
inotifywait -e "$events" -m -r $targets | while read line; do |
|
|
|
jobs |
|
|
|
if [ -z "$(jobs -p)" ]; then |
|
|
|
jobs >/dev/null # Reap status of any terminated job |
|
|
|
if [ -z "$(jobs)" ]; then |
|
|
|
(sleep 0.5 && pkill -USR1 koushin) & |
|
|
|
fi |
|
|
|
done |