diff --git a/src/NewCommand.php b/src/NewCommand.php index 4a13b2b..bab9cac 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -770,7 +770,10 @@ protected function configureComposerDevScript(string $directory): void { $this->composer->modify(function (array $content) { if (windows_os()) { - $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'"; + $content['scripts']['dev'] = [ + 'Composer\\Config::disableProcessTimeout', + "npx concurrently -c \"#93c5fd,#c4b5fd,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"npm run dev\" --names='server,queue,vite'" + ]; } return $content;