print unified diff between old output and new output every $1 second