Update template
Only recompile when template output changes