From 1c0a1d62484b63c51bb1fc224ce1b53465a27baf Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 6 Oct 2021 15:32:23 +0200 Subject: Update --- refresh.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'refresh.sh') diff --git a/refresh.sh b/refresh.sh index 6685cb6..e20e303 100755 --- a/refresh.sh +++ b/refresh.sh @@ -6,6 +6,9 @@ projects=${wai}/projects template=${wai}/template.html main="projectile" +# Check if auto enabled +[ $# -gt 0 ] && { echo -e "$(find ${projects}/ -type f)\n$template" | entr $0; exit 0; } + # Clean before rm -rf $public/projects rm -rf $public/*.html -- cgit v1.2.3