public function getServerManager()
    {
        if (!$this->started) {
            throw new LogicException('Puli was not started');
        }

        if (!$this->serverManager && $this->context instanceof ProjectContext) {
            $this->serverManager = new ModuleFileServerManager(
                $this->getRootModuleFileManager(),
                $this->getInstallerManager()
            );
        }

        return $this->serverManager;
    }