Skip to content

Commit 2fef5a3

Browse files
authored
Add disableProcessTimeout to composer run dev (#370)
* Add disableProcessTimeout to composer run dev * fix styleci
1 parent 54bd7c9 commit 2fef5a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/NewCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,10 @@ protected function configureComposerDevScript(string $directory): void
770770
{
771771
$this->composer->modify(function (array $content) {
772772
if (windows_os()) {
773-
$content['scripts']['dev'] = "npx concurrently -c \"#93c5fd,#c4b5fd,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"npm run dev\" --names='server,queue,vite'";
773+
$content['scripts']['dev'] = [
774+
'Composer\\Config::disableProcessTimeout',
775+
"npx concurrently -c \"#93c5fd,#c4b5fd,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"npm run dev\" --names='server,queue,vite'"
776+
];
774777
}
775778

776779
return $content;

0 commit comments

Comments
 (0)