diff options
Diffstat (limited to 'watch')
-rwxr-xr-x | watch | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |