I am working with symfony2 on my OSX Mavricks. And I came with this cache thing in Symfony2 which needs to be cleared every time I type and save on any page on files on the application. But the sad thing is every time I clear the cache I also need to change the permissions of the cache folder.
Apart from that sometime even I clear the cache it takes time to reflect the change. I have followed the instructions on this site to disable the cache: http://symfony.com/doc/current/cookbook/debugging.html
Also I found some answers that caching is very important in dev-env otherwise symfony is very slow and takes time to reload. But for me it seems like: first clear the cache which takes at least 5 seconds -> then change the permissions -> then reload. Which means need to switch at least twice between the editor -> terminal -> browser which takes another 3 seconds (at-least). Does it makes sense to wait for like 10 seconds without switching and clearing cache and doing shit all time just to see the change made by removing semicolon in the code.
I believe it is a good practice to maintain cache for the production but for the development wait 10 seconds and switch all time does not make sense to me.
Or is it that I am doing it the wrong way. Any help could be very appreciated. But this seemed to me very annoying.
Any help would be greatly appreciated.
Thanks in advance.