4 lines
119 B
Bash

cd "$(git rev-parse --show-toplevel)"
find . -not \( -path build -prune \) \
| entr -s 'clear && sh scripts/build.sh'