Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 41 lines (32 sloc) 1015 Bytes
#!/bin/sh
daemon() {
chsum1=""
while [[ true ]]
do
chsum2=`find src/ -type f -exec md5 {} \;`
if [[ $chsum1 != $chsum2 ]] ; then
make
chsum1=`find src/ -type f -exec md5 {} \;`
fi
sleep 2
chsum4=`find static/templates/ -type f -exec md5 {} \;`
if [[ $chsum3 != $chsum4 ]] ; then
make
chsum3=`find static/templates/ -type f -exec md5 {} \;`
fi
sleep 2
chsum6=`find static/css/less/ -type f -exec md5 {} \;`
if [[ $chsum5 != $chsum6 ]] ; then
make
chsum5=`find static/css/less/ -type f -exec md5 {} \;`
fi
sleep 2
#chsum8=`find templates/*.handlebars -type f -exec md5 {} \;`
#if [[ $chsum7 != $chsum8 ]] ; then
# make
# chsum7=`find static/templates/*.handlebars -type f -exec md5 {} \;`
#fi
#sleep 2
done
}
daemon $*
Jump to Line
Something went wrong with that request. Please try again.