Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (13 sloc) 432 Bytes
# This script uses inotifywait to watch for changes in my repo's
# src/ directory and runs build-blog.go each time a file changes.
# pacman -S inotify-tools # for inotifywait on Arch Linux
# TODO: use instead
while true
inotifywait -r -e modify -e create -e close .
rsync -a js css images /srv/http
go run build-blog.go -pub /srv/http -domain -force-idx