In watch script, exclude built files from watch

This commit is contained in:
Chris Wong 2019-03-24 14:56:44 +13:00
parent 3a038d8f95
commit 5632250644

View file

@ -10,5 +10,5 @@ nproc=$(nproc || echo 4)
while true
do
find . -name '*.rs' -o -name '*.md' -o -name '*.css' | entr -d make -j$nproc
find . -name '*.rs' -o -name '*.md' -o -name '*.css' -not -path './site/*' | entr -d make -j$nproc
done