force adding a whenfilechanges function for all

This commit is contained in:
ville rantanen
2013-04-12 14:17:54 +03:00
parent e9a70623a5
commit af600aab44

View File

@@ -96,7 +96,7 @@ function whenfilechanges() {
do ntime=$( stat -c %Z "$fname" )
[ "$ntime" -ne "$otime" ] && {
eval "$@"
otime="$ntime"
otime=$( stat -c %Z "$fname" )
}
sleep 2