Answer the question
In order to leave comments, you need to log in
How to reconfigure twig templates in Symfony 4?
I am a complete novice in Symfony. My task is to make a small edit in the template file of the .twig file, when I try to just transfer the file via sftp to the server, nothing changes. Symfony is built on webpack. As I understand it, it is necessary to somehow restart webpack or do something else to update the info on the output? Perhaps there are commands by which you can update everything?
Answer the question
In order to leave comments, you need to log in
Most likely twig is cached - use the command in the project
php bin\console cache:clear
directory Or delete the var/cache directory
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question