Skip to content

Commit 01507e0

Browse files
authored
Do not force a cache rebuild after a database refresh (#221)
A cache rebuild forces a full bootstrap and any new code that relies on an unenabled module will fail the build. Resolves #220
1 parent 24a9354 commit 01507e0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Robo/Plugin/Commands/DevelopmentModeCommands.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,6 @@ public function databaseRefreshTugboat(): ResultData
203203
$resultData->append($taskResult);
204204
$taskResult = $this->taskExec('rm')->args($dbPath)->run();
205205
$resultData->append($taskResult);
206-
207-
if (!$this->drupalVersionIsD7($this->drupalRoot)) {
208-
$taskResult = $this->taskExec("$this->vendorDirectory/bin/drush")
209-
->arg('cache:rebuild')
210-
->dir("$this->drupalRoot/sites/$siteName")
211-
->run();
212-
$resultData->append($taskResult);
213-
}
214206
}
215207

216208
return $resultData;

0 commit comments

Comments
 (0)