From 563225064496c6a2842dc9cd66f07751e6c307b4 Mon Sep 17 00:00:00 2001
From: Chris Wong <lambda.fairy@gmail.com>
Date: Sun, 24 Mar 2019 14:56:44 +1300
Subject: [PATCH] In watch script, exclude built files from watch

---
 docs/watch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/watch.sh b/docs/watch.sh
index b268871..a59d84a 100755
--- a/docs/watch.sh
+++ b/docs/watch.sh
@@ -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