Type
magento2-module
Console script to clear static content
magento2-module
proprietary
None
None
None
None
None
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.
composer require dominicwatts/clearstatic
php bin/magento setup:upgrade
php bin/magento setup:di:compile
xigen:clearstatic:clear [-c|--clear-static-content]
php bin/magento xigen:clearstatic:clear -c
or
php bin/magento xigen:clearstatic:clear --clear-static-content
Then generate static content using standard procedure.