Static assets not refreshing with symfony2 clear cache command

前端 未结 6 821
一个人的身影
一个人的身影 2021-02-13 17:12

I\'m using Assetic with the compass filter to pass and compile .scss files. This part of the setup seems to work fine. However, my understanding was that in the app_dev environm

6条回答
  •  囚心锁ツ
    2021-02-13 17:37

    if you are working with symfony 2 assets in dev. environment, simply use this command:

    php app/console assets:install
    php app/console assetic:dump --watch
    

    Since version 2.4 --watch is deprecated, and has been replaced by:

    php app/console assetic:watch
    

提交回复
热议问题