I've spent a few days reading complex questions and answers on this topic. I'm looking for clear instructions regarding how to make simple edits like changes to CSS in my magento2 site. Is it possible to do so in production mode?
At the moment, I'm unable to see changes to the CSS in BOTH development and production mode. I've tried editing both the style.css file in my theme and the .less file in the theme web/css/source
folder.
Running commands like
php bin/magento setup:static-content:deploy
isn't doing anything.
Best Answer
In a production mode you can use the sequence of commands below to regenerate the css files. Specially if you're using less files.
It's not required in developer and default modes.