From e87bdc47d77017aec77af13310de073fe24153eb Mon Sep 17 00:00:00 2001 From: Marty Friedel <1491079+martyf@users.noreply.github.com> Date: Wed, 28 Aug 2024 17:24:10 +0930 Subject: [PATCH] Listen for ScheduledCacheInvalidated event --- src/Listeners/ScheduledCacheInvalidated.php | 17 +++++++++++++++++ src/ServiceProvider.php | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 src/Listeners/ScheduledCacheInvalidated.php diff --git a/src/Listeners/ScheduledCacheInvalidated.php b/src/Listeners/ScheduledCacheInvalidated.php new file mode 100644 index 0000000..5ffc075 --- /dev/null +++ b/src/Listeners/ScheduledCacheInvalidated.php @@ -0,0 +1,17 @@ + [ ClearSitemapamicCache::class, ], + \MityDigital\StatamicScheduledCacheInvalidator\Events\ScheduledCacheInvalidated::class => [ + ScheduledCacheInvalidated::class + ] ]; protected $updateScripts = [