diff options
author | Volpeon <git@volpeon.ink> | 2020-12-23 17:57:36 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-23 17:57:36 +0100 |
commit | 213f8c2ce1d6c27bf579e7cb440e6ff53f076d30 (patch) | |
tree | a6a7cb1131dca76a4c63bf35cff063eca17d439c /scripts/watch_templates.sh | |
parent | Better build script, allow static files in content folder (diff) | |
download | volpeon.ink-213f8c2ce1d6c27bf579e7cb440e6ff53f076d30.tar.gz volpeon.ink-213f8c2ce1d6c27bf579e7cb440e6ff53f076d30.tar.bz2 volpeon.ink-213f8c2ce1d6c27bf579e7cb440e6ff53f076d30.zip |
Added favicon, also watch templates folder
Diffstat (limited to 'scripts/watch_templates.sh')
-rwxr-xr-x | scripts/watch_templates.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/watch_templates.sh b/scripts/watch_templates.sh new file mode 100755 index 0000000..160a46c --- /dev/null +++ b/scripts/watch_templates.sh | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | inotifywait -qrme close_write,delete,move --format "%w%f" templates \ | ||
4 | | while read FILENAME | ||
5 | do | ||
6 | scripts/build_content.sh | ||
7 | done | ||