summaryrefslogtreecommitdiffstats
path: root/scripts/watch_sass.sh
blob: 7345eb3718e1d31ed4195a44cbcaad8421762ec7 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/bash

source "site.defaults.conf"

inotifywait -qrme close_write,delete,move --format "%w%f" "${ASSETS_DIR}css" \
    | while read file
        do
            scripts/build_sass.sh
        done