Skip to content

Commit

Permalink
small fix in watch
Browse files Browse the repository at this point in the history
  • Loading branch information
henzeb committed Apr 12, 2023
1 parent f5eebdc commit e278398
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Output/ConsoleOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ public function watch(
return;
}

$sectionName = $sectionName ?? uniqid();

while ($this->infiniteLoop()) {
$this->section($sectionName)
->render($render);
Expand Down

0 comments on commit e278398

Please sign in to comment.