live-reload: kill previous processes

This commit is contained in:
miruka 2019-10-24 07:05:26 -04:00
parent daecc579b1
commit 42a2d04bb7

View File

@ -12,6 +12,8 @@ make clean
qmake harmonyqml.pro CONFIG+=dev && make
while true; do
killall -9 harmonyqml
find src harmonyqml.pro -type f |
entr -cdnr sh -c \
"qmake harmonyqml.pro CONFIG+=dev && make && ./harmonyqml $*"