summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-06-14 13:34:02 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-06-14 13:34:02 +0200
commit8f4d784c77df73ae810465c7b6ceb1efc112866a (patch)
tree1a2ef3164b4ee8c4b4e140ac18eafbd8e173d0c9
parent2403600e2ad3375fbd77f09900c73fba530a07ad (diff)
Added script for rebuilding on every file change
-rwxr-xr-xwatch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/watch.sh b/watch.sh
new file mode 100755
index 0000000..a22e34c
--- /dev/null
+++ b/watch.sh
@@ -0,0 +1,4 @@
+while true; do
+ inotifywait -r -e modify,move ./
+ ./test.sh
+done