live-reload.sh: run again when dir content changes

This commit is contained in:
miruka 2019-07-25 19:20:14 -04:00
parent ef36cc6e7a
commit b534318b95

View File

@ -5,6 +5,9 @@
# no_embedded (resources) is used to speed up the compilation # no_embedded (resources) is used to speed up the compilation
while true; do
find src harmonyqml.pro -type f | find src harmonyqml.pro -type f |
entr -cdnr sh -c \ entr -cdnr sh -c \
'qmake CONFIG+="dev no_embedded" && make && ./harmonyqml --debug' 'qmake CONFIG+="dev no_embedded" && make && ./harmonyqml --debug'
sleep 0.2
done