Skip to content

Commit

Permalink
Clear the file info cache when clearing the cache of fork
Browse files Browse the repository at this point in the history
  • Loading branch information
carakas committed Jan 16, 2020
1 parent 764399d commit e5feef6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Console/Core/CacheClearCommand.php
Expand Up @@ -37,6 +37,9 @@ protected function execute(InputInterface $input, OutputInterface $output): void
$symfonyCacheClearCommand = $this->getApplication()->find('cache:clear');
$symfonyCacheClearCommand->run(new ArrayInput(['--no-warmup' => true]), $output);

// clear file info cache
clearstatcache();

$io->success('Cache is cleared');
}

Expand Down

0 comments on commit e5feef6

Please sign in to comment.