mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 04:45:08 +03:00
Without `persistent: true`, turbo 2.9.x treats the dev task as a regular one-shot — the moment the child process emits its "ready" banner turbo considers the task done and tears it (and the dev server) down. `pnpm run dev:studio` was exiting ~2s after start, right after vite printed its localhost URL. The `--parallel` flag we pass at the call site is the legacy way to signal this; turbo's deprecation warning explicitly points at `persistent` as the replacement, so wire it up in the task definition.
30 lines
548 B
JSON
30 lines
548 B
JSON
{
|
|
"$schema": "./node_modules/turbo/schema.json",
|
|
"ui": "stream",
|
|
"cacheMaxAge": "14d",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**", ".next/**", "!.next/cache/**/*", "!.next/dev/**/*"],
|
|
},
|
|
"lint": {
|
|
"outputs": [],
|
|
},
|
|
"clean": {
|
|
"outputs": [],
|
|
"cache": false,
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true,
|
|
},
|
|
"test": {
|
|
"cache": false,
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^typecheck"],
|
|
"outputs": [],
|
|
},
|
|
},
|
|
}
|