0

When We set mode default to a developer, files are removed from pub folder.

enter image description here

Magento 2.x PHP 7.x

1

Try to clear the content of bellow folders except .htaccess:

var/cache
var/di
var/generation
var/view_preprocessed
pub/static

Then launch your command: php bin/magento deploy:mode:set developer

  • Can you tell me how to delete media, opt and static folder from pub folder when I run the php bin/magento deploy:mode:set developer? – Masud Shaikh Jul 30 '18 at 8:20
  • To clean static files cache: rm -R pub/static/* – PЯINCƏ Jul 30 '18 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.