This commit is contained in:
xl
2024-11-18 14:16:03 +08:00
parent ad9f536c90
commit 54c34ccf8f
+1 -8
View File
@@ -27,13 +27,6 @@ class HotReload extends AbstractProcess
public StdoutLogger|LoggerInterface $logger; public StdoutLogger|LoggerInterface $logger;
/**
* @var ServerInterface
*/
#[Container(ServerInterface::class)]
public ServerInterface $server;
/** /**
* @var bool * @var bool
*/ */
@@ -115,7 +108,7 @@ class HotReload extends AbstractProcess
$this->clear(); $this->clear();
$this->server->reload(); di(ServerInterface::class)->reload();
$this->addListen(); $this->addListen();