#!/bin/sh while true; do inotifywait -r -e CREATE,MODIFY,MOVE,DELETE docs src; make index sitemaps; done