Configure template reloading
Edit profiles-config.xml to configure template reloading.
When developing the presentation templates, it is useful to see the changes immediately reflected in the user interface without stopping and starting the application. This enables you to make updates to any of the template files, and see the changes immediately in the application without requiring restarts.
In a production environment, set to 0 so templates are compiled once and performance is optimal.
- Open profiles-config.xml using a text editor.
- Locate the <templateReloading/> element
- Edit the value to define how frequently (in seconds) the template processor should look for updates to the templates on disk.
- Save the changes.
- Check in the configuration update.
- Restart the application.
Parent topic:
Template configuration options