summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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