Reload page when templates are modified