When i change server side less compilation on client side, i have 404 with all my less files.

errors in console

  • did you execute php bin/magento setup:static-content:deploy ?
    – Keyur Shah
    Jan 10, 2018 at 20:20
  • @KeyurShah it happens after this command Jan 12, 2018 at 14:59

1 Answer 1


Client side compilation only works in developer mode. So just in case, please make sure you are in developer mode.

After you do that, and you only need to do this once:

rm -R pub/static/frontend 
rm -R var/view_preprocessed
php bin/magento cache:flush

After that, refresh the page and you should see your changes. You should be able to see subsequent changes with a simple page refresh and you shouldn't have to repeat the other steps above.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.