Skip to content

Commit aba7af7

Browse files
committed
chore(turbo): fix watch mode
1 parent 74b22f1 commit aba7af7

File tree

3 files changed

+41
-36
lines changed

3 files changed

+41
-36
lines changed

package-lock.json

+29-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"private": true,
44
"packageManager": "[email protected]",
55
"scripts": {
6-
"dev": "turbo watch dev"
6+
"dev": "turbo watch dev",
7+
"build": "turbo run build"
78
},
89
"workspaces": ["apps/*", "packages/*"],
910
"devDependencies": {
1011
"supabase": "^1.207.9",
11-
"turbo": "^2.2.3"
12+
"turbo": "^2.2.4-canary.9"
1213
}
1314
}

turbo.json

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
{
2-
"$schema": "https://turbo.build/schema.json",
2+
"$schema": "https://turbo.build/schema.v2.json",
3+
"ui": "stream",
34
"tasks": {
45
"@database.build/deploy#build": {
56
"dependsOn": ["^build"],
6-
"cache": false
7+
"outputs": ["dist/**"],
8+
"cache": true
79
},
810
"@database.build/deploy-worker#dev": {
911
"dependsOn": ["^build"],
10-
"interruptible": true,
1112
"persistent": true,
13+
"interruptible": true,
1214
"cache": false
1315
},
14-
"dev": {
16+
"@database.build/web#dev": {
1517
"dependsOn": ["^build"],
16-
"cache": false,
17-
"persistent": true
18+
"outputs": [".next/**", "!.next/cache/**"],
19+
"persistent": true,
20+
"cache": true
1821
},
1922
"type-check": {
2023
"dependsOn": ["^type-check"]

0 commit comments

Comments
 (0)