mgeisler / swift-browser

AngularJS interface for OpenStack Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Grunt task for synchronizing development deployment

mgeisler opened this issue · comments

I've been running this command for a long time to sync my Swift container with the files in my working directory:

while true; do
    files=$(inotifywait -q -e modify --format %w **/*.html **/*.js **/*.json **/*.css)
    if [ ! -z $files ]; then
        swift upload swift-browser $files &;
    fi;
done

It would be nice to have this as a Grunt task.