diff --git a/recipe/custom/magento2.php b/recipe/custom/magento2.php index 94ef93c..5e33ef2 100644 --- a/recipe/custom/magento2.php +++ b/recipe/custom/magento2.php @@ -20,7 +20,7 @@ desc('Local DI compile'); task('magento:local:setup:di:compile', function () { - runLocally('{{local_bin/php}} {{local_src}}/bin/magento setup:di:compile'); + runLocally('{{local_bin/php}} {{local_src}}/bin/magento setup:di:compile && {{local_bin/composer}} dump-autoload -o --apcu'); }); // Remote commands