【发布时间】:2019-05-16 09:02:29
【问题描述】:
我使用的是 symfony 3.4,当我在控制器或树枝中添加代码时,我看不到更改。
任何时候我都必须运行php bin/console cache:clear。
我尝试添加
twig:
cache: false
debug: true
并使用app_dev.php,但没有幸运
使用php bin/console server:run开发
【问题讨论】:
我使用的是 symfony 3.4,当我在控制器或树枝中添加代码时,我看不到更改。
任何时候我都必须运行php bin/console cache:clear。
我尝试添加
twig:
cache: false
debug: true
并使用app_dev.php,但没有幸运
使用php bin/console server:run开发
【问题讨论】:
我无法对你的问题发表评论。
您确定您的网络服务器没有缓存内容吗?
【讨论】:
php bin/console server:run
twig: cache: false debug: true