delete outdated package output, if there is not package output anymore.  rebuild buildfiles without build() only when needed.