Skip to content

Commit f3c3f74

Browse files
committed
remove red color
1 parent cd2daf1 commit f3c3f74

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Commands/ServeCommand.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,22 @@ public function handle()
2323
];
2424

2525
while (count($processes)) {
26+
/* @var \Symfony\Component\Process\Process $process */
2627
foreach ($processes as $i => $process) {
2728
if (!$process->isStarted()) {
2829
$process->setTimeout(null);
2930
$process->start();
3031
continue;
3132
}
32-
if (($info = trim($process->getIncrementalOutput())) && $info) {
33+
34+
if ($info = trim($process->getIncrementalOutput())) {
3335
$this->info($info);
3436
}
35-
if (($error = trim($process->getIncrementalErrorOutput())) && $error) {
36-
$this->error($error);
37+
38+
if ($error = trim($process->getIncrementalErrorOutput())) {
39+
$this->line($error);
3740
}
41+
3842
if (!$process->isRunning()) {
3943
unset($processes[$i]);
4044
}

0 commit comments

Comments
 (0)