On Mon, 10 Jan 2011 20:39:29 -0500, Tom Boutell <[email protected]> wrote:
> Before my experiment with using an anonymous function, I was passing
> the name of a regular function. Twig kept trying to find that function
> until I manually deleted the contents of app/cache. Then it was able
> to see my new code (although it didn't much like it, a separate
> issue). Is this issue with the cache a bug?
> 
> -- 
> Tom Boutell
> P'unk Avenue
> 215 755 1330
> punkave.com
> window.punkave.com

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.
-- 
Christophe | Stof

-- 
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

Reply via email to