diff --git a/composer.json b/composer.json index 08dc7c4d..20ea1ff1 100644 --- a/composer.json +++ b/composer.json @@ -57,7 +57,7 @@ ], "dev": [ "Composer\\Config::disableProcessTimeout", - "npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve --host=localhost\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php bin/dev-logs.php\" \"npm run dev\" --names=server,queue,logs,vite --kill-others" + "npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve --host=localhost\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php bin/dev-logs.php\" \"npm run dev:server\" --names=server,queue,logs,vite --kill-others" ], "lint": [ "pint --parallel" diff --git a/package.json b/package.json index 0032c2fc..5a617d2b 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ -{ + "$schema": "https://www.schemastore.org/package.json", "private": true, "type": "module", "scripts": { "build": "vite build", "build:ssr": "vite build && vite build --ssr", - "dev": "vite", + "dev": "composer run dev", + "dev:server": "vite", "format": "prettier --write resources/", "format:check": "prettier --check resources/", "lint": "eslint . --fix",