Skip to content

Commit 787862e

Browse files
committed
fix realtime output on unix
1 parent 56933d6 commit 787862e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/RunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected function watch(): void
5050

5151
protected function startWatchProcess(): void
5252
{
53-
$this->watchProcess = Process::start(
53+
$this->watchProcess = Process::tty(Process::supportsTty())->start(
5454
command: config('nutgram.watch.bin', PHP_BINARY).' artisan nutgram:run',
5555
output: function (string $type, string $output) {
5656
$this->output->write($output);

0 commit comments

Comments
 (0)