Skip to content

Commit

Permalink
work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnokia committed Mar 2, 2021
1 parent bf0aead commit b24a4ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/ServeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function handle()
$artisanPath = base_path('artisan');

$processes = [
$httpProcess = new Process([$phpBinaryPath, $artisanPath, 'serve:http', $this->serveOptions()->implode(' ')]),
$httpProcess = new Process([$phpBinaryPath, $artisanPath, 'serve:http'] + $this->serveOptions()),
$socketProcess = new Process([$phpBinaryPath, $artisanPath, 'serve:websockets']),
];

Expand Down Expand Up @@ -62,6 +62,6 @@ public function serveOptions()
}

return "--{$key}={$value}";
});
})->values()->toArray();
}
}

0 comments on commit b24a4ae

Please sign in to comment.