framework/RedKiteCms/EventSystem/Listener/PageCollection/SiteSavedListener.php
public function onSiteSaved(SiteSavedEvent $event)
    {
        $fs = new Filesystem();
        $fs->mirror(
            $this->configurationHandler->uploadAssetsDir(),
            $this->configurationHandler->uploadAssetsDirProduction()
        );
    }
public function onSiteSaved(SiteSavedEvent $event)
    {
        $fs = new Filesystem();
        $fs->mirror(
            $this->configurationHandler->uploadAssetsDir(),
            $this->configurationHandler->uploadAssetsDirProduction()
        );
    }
Synchronizes the backend folder with the production one
@param \RedKiteCms\EventSystem\Event\PageCollection\SiteSavedEvent $event