Skip to content

DominicWatts/ClearStatic

Repository files navigation

Clear Static

phpcs

PHPCompatibility

PHPStan

php-cs-fixer

Console script to clear static content. Will clear both frontend and backend static content in a single command. Ideal for pushing through knockout html changes.

Install instructions

composer require dominicwatts/clearstatic

php bin/magento setup:upgrade

php bin/magento setup:di:compile

Usage instructions

piximedia:clearstatic:clear [-c|--clear-static-content]

php bin/magento piximedia:clearstatic:clear -c

or

php bin/magento piximedia:clearstatic:clear --clear-static-content

Then generate static content using standard procedure.

About

Magento 2 console script to clear static content

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages