src/Leevel/Protocol/Process/HotOverload.php
protected function reload(IServer $server): void
    {
        $this->reloading = false;

        $this->log('The Swoole server is start reloading.');

        $server->getServer()->reload();

        $this->log('The Swoole server has reloaded.');
    }
protected function reload(IServer $server): void
    {
        $this->reloading = false;

        $this->log('The Swoole server is start reloading.');

        $server->getServer()->reload();

        $this->log('The Swoole server has reloaded.');
    }
重启.

@param \Leevel\Protocol\IServer $server