From 54c34ccf8f212ca2b17d82e589c94e86fc1b7004 Mon Sep 17 00:00:00 2001 From: xl Date: Mon, 18 Nov 2024 14:16:03 +0800 Subject: [PATCH] eee --- Abstracts/HotReload.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Abstracts/HotReload.php b/Abstracts/HotReload.php index 77e617d..98ef1f7 100644 --- a/Abstracts/HotReload.php +++ b/Abstracts/HotReload.php @@ -27,13 +27,6 @@ class HotReload extends AbstractProcess public StdoutLogger|LoggerInterface $logger; - /** - * @var ServerInterface - */ - #[Container(ServerInterface::class)] - public ServerInterface $server; - - /** * @var bool */ @@ -115,7 +108,7 @@ class HotReload extends AbstractProcess $this->clear(); - $this->server->reload(); + di(ServerInterface::class)->reload(); $this->addListen();