summaryrefslogtreecommitdiffstats
path: root/scripts/watch_metadata.sh
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-24 15:05:32 +0100
committerVolpeon <git@volpeon.ink>2020-12-24 15:05:32 +0100
commit714d8f7ff8425e4177ff6bde4d214ef75be6b1ab (patch)
treebc343dd424b14bcadef61a80bfe7d423c139445c /scripts/watch_metadata.sh
parentImproved typography (diff)
downloadvolpeon.ink-714d8f7ff8425e4177ff6bde4d214ef75be6b1ab.tar.gz
volpeon.ink-714d8f7ff8425e4177ff6bde4d214ef75be6b1ab.tar.bz2
volpeon.ink-714d8f7ff8425e4177ff6bde4d214ef75be6b1ab.zip
Added header, improved SCSS structure, use metadata file instead of param, improved folder structure
Diffstat (limited to 'scripts/watch_metadata.sh')
-rwxr-xr-xscripts/watch_metadata.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/watch_metadata.sh b/scripts/watch_metadata.sh
new file mode 100755
index 0000000..af2e6a7
--- /dev/null
+++ b/scripts/watch_metadata.sh
@@ -0,0 +1,7 @@
1#!/bin/bash
2
3inotifywait -qrme close_write,delete,move --format "%w%f" metadata \
4 | while read FILENAME
5 do
6 scripts/build_content.sh
7 done