We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ee1b6 commit 81f6051Copy full SHA for 81f6051
app/code/Magento/Deploy/Model/Filesystem.php
@@ -145,6 +145,11 @@ public function regenerateStatic(
145
146
// Trigger code generation
147
$this->compile($output);
148
+
149
+ // Cache flush will regenerate needed folders structure for compilation and deploy that were deleted previously
150
+ $cmd = $this->functionCallPath . 'cache:flush ';
151
+ $this->shell->execute($cmd);
152
153
// Trigger static assets compilation and deployment
154
$this->deployStaticContent($output);
155
}
0 commit comments