Use entr's -c flag in script

This commit is contained in:
2024-11-10 14:46:37 +00:00
parent b7737fba39
commit 15a6195bf0

View File

@@ -1,4 +1,4 @@
#!/bin/sh
cd "$(git rev-parse --show-toplevel)"
find . -not \( -path './.git' -prune \) -not \( -path './build' -prune \) \
| entr -s 'clear && scripts/build.sh && scripts/test.sh'
| entr -cs 'scripts/build.sh && scripts/test.sh'