I had setup grunt on my application and to get it setup I normally just run:

grunt clean
grunt exec:lfa
grunt less:lfa
grunt watch

Then i'm ready to go and start working on the theme and it worked just fine. Recently it's stopped working.

When grunt watch is running, it will detect changes and re-build the CSS but nothing will change so now I have to run a bunch of commands every time I make a change. Even when running clean, exec and less nothing will change. So now I have to run:

rm -rf pub/static/frontend/* && grunt clean && grunt exec:lfa && grunt less:lfa

every time I make a change to the CSS which is taking forever just to make a few changes to the CSS.

Any ideas why grunt has stopped working properly?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.