Skip to content

Commit 761f107

Browse files
authored
Merge pull request #1143 from hydephp/set-serve-command-process-to-never-time-out
Set the serve command process to run forever
2 parents 9bb5032 + 29420be commit 761f107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Console/Commands/ServeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function getExecutablePath(): string
5454
/** @codeCoverageIgnore Until output is testable */
5555
protected function runServerProcess(string $command): void
5656
{
57-
Process::run($command, function (string $type, string $line): void {
57+
Process::forever()->run($command, function (string $type, string $line): void {
5858
$this->output->write($line);
5959
});
6060
}

0 commit comments

Comments
 (0)