Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear Symfony cache after Grunt build #5

Open
ryan0x44 opened this issue Oct 23, 2013 · 0 comments
Open

Clear Symfony cache after Grunt build #5

ryan0x44 opened this issue Oct 23, 2013 · 0 comments
Assignees

Comments

@ryan0x44
Copy link
Contributor

Following a Grunt "build", a developer must manually clear the Symfony cache to ensure the latest Twig (dist) templates are used in production.

We can further automate the build process by adding a new grunt task to clear the Symfony (production) cache at the end of a build.

Essentially just need to execute:

vagrant ssh -c "/vagrant/app/console cache:clear --env=prod"
@ghost ghost assigned ryan0x44 Oct 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant