Magento2 Admin – Disable Static Content Generation

adminmagento2

I am working on magento2. I am curious about, Is there any way to disable pub/static content generation ? Meanwhile I was also thinking that why there is no option to reindex from admin ?

Best Answer

pub/static should remain empty if you set to developer mode.

If you have ran the static asset deployment script via the CLI it will get populated regardless of the development mode you have set.

You may have issues if you have deleted your static assets and also deleted the .htaccess file along with it.

Related Topic