Skip to content

Commit 9197522

Browse files
Jozef PistejRastusik
authored andcommitted
fix(command): close console output after server start to prevent bad file descriptor in docker
1 parent 6fad7a9 commit 9197522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridge/Symfony/Bundle/Command/ServerStartCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ protected function startServer(
5959
throw CouldNotCreatePidFileException::forPath($pidFile);
6060
}
6161

62-
$this->closeSymfonyStyle($io);
63-
6462
$server->start();
63+
64+
$this->closeSymfonyStyle($io);
6565
}
6666

6767
private function closeSymfonyStyle(SymfonyStyle $io): void

0 commit comments

Comments
 (0)