I'm trying to make some style changes to a .less file in a custom module. But even after making and saving the changes to the .less file, those changes are not being reflected on the website. I'm using Magento in developer mode. Is there a way around this(by using cli) which does not involve deleting pub or generated folders?

  • did you try using cache:clean command? Commented Oct 17, 2018 at 15:27
  • I did. I also have all the cache disabled, so I don't think that's the problem. Commented Oct 17, 2018 at 16:57

1 Answer 1


There are many reference link from where you can take help on it--

1) https://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-topics/css_debug.html

2) How can I compile less file in magento2

3) Magento 2: Css changes not reflecting

4) Clear Theme/CSS Cache in Magento 2

still having issue, please comment.

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.