diff --git a/System/Application.php b/System/Application.php index 09424c50..ce53cfd1 100644 --- a/System/Application.php +++ b/System/Application.php @@ -86,7 +86,7 @@ class Application extends BaseApplication */ public function withFileChangeListen() { - $manager = di(ServerManager::class); + $manager = $this->getServer(); $manager->addProcess(FileChangeCustomProcess::class); putenv('enableFileChange=on');