public function beforeRun(SourceSetEvent $sourceSetEvent): void
    {
        $updated = $sourceSetEvent->updatedSources();
        if ($updated) {
            $this->twig->invalidateLoadedTemplates();
        }
    }