Rebuild generated files when templates change.