On 11.01.2011 10:43, stof wrote:
> did you use the dev or the prod environment ?
> In prod environment you always have to clear the cache yourself. It is
> intended.
> You can change this behavior for twig templates by setting {auto_reload:
> true} in your twig configuration.I think he experienced another issue there: Even in dev, once a template is compiled, if you change an existing filter or function that is hardcoded in the compiled php file, the template won't be recompiled unless you change the template as well. This is normal and can not be changed for performance reasons. The fact that twig compiles most stuff to native calls also means that AFAIK closures are not really possible atm since they do not persist across requests. Cheers -- Jordi Boggiano @seldaek :: http://seld.be/ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
