Skip to content

Commit

Permalink
maybe this will work?
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell committed Nov 22, 2020
1 parent a3e5816 commit 4a64358
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public function boot()
{
parent::boot();

Statamic::booted(fn () => Forma::all()->each->boot());
if (! app()->runningInConsole()) {
Statamic::booted(fn () => Forma::all()->each->boot());
}
}
}

0 comments on commit 4a64358

Please sign in to comment.