A
A
Anton18632020-09-10 16:29:19
symfony
Anton1863, 2020-09-10 16:29:19

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

1 answer(s)
V
Valery Chmykh, 2020-09-10
@Anton1863

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 question

Ask a Question

731 491 924 answers to any question