diff options
Diffstat (limited to 'scripts/watch_metadata.sh')
-rwxr-xr-x | scripts/watch_metadata.sh | 7 |
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 | |||
3 | inotifywait -qrme close_write,delete,move --format "%w%f" metadata \ | ||
4 | | while read FILENAME | ||
5 | do | ||
6 | scripts/build_content.sh | ||
7 | done | ||