moment/live_reload.sh
miruka 990770dd38 Add dev CONFIG option for qmake file
Enables back all the missing warnings, notably JS syntax errors
2019-07-04 15:12:39 -04:00

11 lines
289 B
Bash
Executable File

#!/usr/bin/env sh
# pdb won't be usable with entr,
# use https://pypi.org/project/remote-pdb/ instead
# no_embedded (resources) is used to speed up the compilation
find src harmonyqml.pro -type f |
entr -cdnr sh -c \
'qmake CONFIG="dev no_embedded" && make && ./harmonyqml --debug'