Skip to content

Commit 3bba570

Browse files
committed
got used to the server being quiet all the time
1 parent 2eca64a commit 3bba570

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/PatternLab/Console/ProcessSpawner.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ public function spawn($commands = array(), $quiet = false) {
7878
$process["process"]->checkTimeout();
7979
if (!$quiet && $process["output"]) {
8080
print $process["process"]->getIncrementalOutput();
81-
print $process["process"]->getIncrementalErrorOutput();
81+
$cmd = $process["process"]->getCommandLine();
82+
if (strpos($cmd,"router.php") != (strlen($cmd) - 10)) {
83+
print $process["process"]->getIncrementalErrorOutput();
84+
}
8285
}
8386
}
8487
} catch (ProcessTimedOutException $e) {

0 commit comments

Comments
 (0)