Post commit to clear cache :D Posted on April 13, 2012 by Luis Cordova So whenever you commit you can spot changes or errors of your own. Will save you time. // .git/hooks/post-commit #!/usr/bin/env php <?php system('rm -rf app/cache/*'); system('php app/console cache:clear --env=dev --no-debug'); Tweet
You should use ACLs with your cache, and the Sf commands only. Think to add assets commands to your hook :p . Reply ↓
You should use ACLs with your cache, and the Sf commands only.
Think to add assets commands to your hook :p .