I am working with Magento2 and have a question. I am working in the development mode.
But when I do some CSS changes in my theme, why I have to manually clear the pub/static/frontend
folder every time (when I am in the developer mode).
This is very very slow.
How can I work faster?
Best Answer
Developer Mode - Static Files - Basics
Generate Case
If you change the content of test.css, when you load page, Magento look into the pub/static folder if test.css file not found, it creates from your module or theme.
Not Generated Case
If you change the content of test.css, when you load page, Magento look into the pub/static folder if the test.css file already exist, it skips the generation step so here you need to generate static content manually or remove that particular file from pub static.
Your question solved by two ways
You can use shell script for avoid long typo
Please refer this link for more details