force adding a whenfilechanges function for all
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user