Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Console/Command/Dev/InspectorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,13 @@ private function isInspectorEnabled(): bool
}

/**
* Clean config cache
* Clean relevant caches after changing inspector status
*
* @return void
*/
private function cleanCache(): void
{
$this->cacheManager->clean(['config']);
$this->io->writeln('<comment>Config cache cleaned</comment>');
$this->cacheManager->clean(['config', 'layout', 'full_page', 'block_html']);
Comment thread
dermatz marked this conversation as resolved.
$this->io->writeln('<comment>Config, layout, full page & block HTML caches cleaned</comment>');
}
}
Loading