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

1 Answer 1

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

2
  • 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? Jul 30, 2018 at 8:20
  • To clean static files cache: rm -R pub/static/*
    – PЯINCƎ
    Jul 30, 2018 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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