Skip to content

Commit

Permalink
fix: add clear cache on forest install command (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthv committed Jan 24, 2023
1 parent e37d87f commit 82e799d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Command/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace ForestAdmin\SymfonyForestAdmin\Command;

use ForestAdmin\AgentPHP\Agent\Facades\Cache;
use Illuminate\Support\Str;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
Expand Down Expand Up @@ -38,6 +39,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int

$this->publishConfig($output);

Cache::forget('config');

return Command::SUCCESS;
}

Expand Down

0 comments on commit 82e799d

Please sign in to comment.