Answer the question
In order to leave comments, you need to log in
(Yii2, Grunt) Cached assets interfere with livereload?
I am using Yii2 .
Installed Grunt to compile Less files to Bootstrap , as well as livereload . The files compile, the page reloads, but nothing is updated on it because the files compile to \vendor\twbs\bootstrap\dist\css , and Yii takes the cached files from \web\assets .
How can I file livereload in this case?
Maybe you can configure Grunt so that after compiling Less, it will copy the compiled to the specified directory?
Answer the question
In order to leave comments, you need to log in
yes, grunt-copy task. In general, if you have assembled assets through grunt, what does the Yii asset manager have to do with it? you yourself have to copy it into the right folder, insert the correct links in the templates and all that.
ps The Asset Manager in Yii is a breeze. I really want to cut him out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question