summaryrefslogtreecommitdiff
path: root/watch
diff options
context:
space:
mode:
Diffstat (limited to 'watch')
-rwxr-xr-xwatch7
1 files changed, 4 insertions, 3 deletions
diff --git a/watch b/watch
index 46f9a85..d8a276d 100755
--- a/watch
+++ b/watch
@@ -1,4 +1,5 @@
-#!/usr/bin/env fish
-while inotifywait -qqe modify activitypub.rb
+#!/bin/sh
+while inotifywait -qq -r ./ -e create,delete,modify; do
+ rsync -a --exclude='.git/' --exclude='watch' --filter=":- .gitignore" ./ /srv/social/
sudo systemctl restart social.service
-end
+done