autoReload property

bool autoReload
final

Some loaders load templates from locations where the template sources may change (ie: file system or database).

If autoReload is set to true (default) every time a template is requested the loader checks if the source changed and if yes, it will reload the template. For higher performance it's possible to disable that.

Implementation

final bool autoReload;