summaryrefslogtreecommitdiff
path: root/watch
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-06-04 09:56:44 +0200
committerpdp8 <pdp8@pdp8.info>2023-06-04 09:56:44 +0200
commit74378829ebe3da4d339bdff37a00675bfc12118f (patch)
tree2182bff3475d7065f565954442b41ce6924ce642 /watch
parentc727922afd124ae59e05b2da56634a271863f8af (diff)
css, wait updates
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