diff --git a/composer.json b/composer.json index c30df8bcd..ddc89dd25 100644 --- a/composer.json +++ b/composer.json @@ -43,16 +43,15 @@ "scripts": { "setup": [ "composer install", - "@php -r \"file_exists('.env') || copy('.env.local.example', '.env');\"", - "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"", - "@php artisan key:generate --ansi", - "@php artisan migrate --force --ansi", + "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"", + "@php artisan key:generate", + "@php artisan migrate --force", "bun install", "bun run build" ], "dev": [ "Composer\\Config::disableProcessTimeout", - "bunx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"bun run dev\" --names=server,queue,logs,vite --kill-others" + "bunx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\" \"bun run dev\" --names=server,queue,logs,vite --kill-others" ], "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", diff --git a/phpunit.xml b/phpunit.xml index ead39590b..389cdd58e 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,7 +1,9 @@ + bootstrap="vendor/autoload.php" + colors="true" +> tests/Browser @@ -36,4 +38,4 @@ - + \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 7bc0ccbe4..1dcb53a40 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -10,4 +10,9 @@ export default defineConfig({ refresh: true, }), ], + server: { + watch: { + ignored: ['**/storage/framework/views/**'], + }, + }, });