Skip to content

Commit

Permalink
fix watch command
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Mar 6, 2024
1 parent afc4913 commit 6638cc2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Console/Command/WatchCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ function () use ($console, &$index, $aggregate, $aggregateId): void {

foreach ($stream as $message) {
$console->message($this->serializer, $message);
$index = $stream->index();
}

$index = $stream->index();

$stream->close();
},
[],
Expand Down

0 comments on commit 6638cc2

Please sign in to comment.