hy/site/devel.sh
Paul R. Tagliamonte 8309210ac9 adding some style'
2013-03-10 15:30:49 -04:00

14 lines
264 B
Bash
Executable File

#!/bin/bash
shopt -s extglob
last=""
while [ true ]; do
now=$(find coffee less -type f -printf "%T@ %Tx %TX %p\n" | sort -n -r | head -1)
if [ "$last" != "$now" ]; then
make >/dev/null
echo "Updated."
fi
last=$now
sleep 1
done