Magento – After changes in less file setup:static-content:deploy is compulsory

magento2static-content-deploy

Most of time spend on setup:upgrade and setup:static-content:deploy.
Is it compulsory to run both command after changes on less file?
I have used Default lUMA theme.

Best Answer

You don't have to run setup:upgrade:command if the changes you have made only are in less files.

However you have to run setup:static-content:deploy to see less files changes, also you can deploy static content from admin as well ( Magento 2 CE ):

System->Cache Management -> Flush static files ( bottom of page ).

Related Topic