diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-10-06 15:32:23 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-10-06 15:32:23 +0200 |
| commit | 1c0a1d62484b63c51bb1fc224ce1b53465a27baf (patch) | |
| tree | f28db7c00c06f55eb52c97861aee2eaafd04af70 /refresh.sh | |
| parent | c353c87c511b9d447f39f78826030d15a76b2691 (diff) | |
Update
Diffstat (limited to 'refresh.sh')
| -rwxr-xr-x | refresh.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
