From eb57e522f54e6e52c8f78d8f2cc594a394e0bf71 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 23 Dec 2018 20:35:22 +0100 Subject: [PATCH] re-init console/socket as well --- Controller/ApiController.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index a792924..7d8679d 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -719,6 +719,14 @@ final class ApiController extends Controller } } + if (\file_exists($path = __DIR__ . '/../../../Console/Routes.php')) { + \file_put_contents($path, 'app->moduleManager->getActiveModules(); foreach ($installedModules as $name => $module) { $this->app->moduleManager->reInit($name);