build: update nx.json

This commit is contained in:
himself65
2023-06-16 14:50:42 +08:00
parent bfb9e9b5c5
commit c5eb16139f
2 changed files with 4 additions and 1 deletions

View File

@@ -69,6 +69,9 @@
{ "runtime": "yarn playwright --version" } { "runtime": "yarn playwright --version" }
] ]
}, },
"dev": {
"dependsOn": ["^build"]
},
"e2e:coverage": { "e2e:coverage": {
"dependsOn": ["^build"] "dependsOn": ["^build"]
}, },

View File

@@ -89,7 +89,7 @@ runCli(
console.error console.error
); );
spawn('yarn', ['dev'], { spawn('nx', ['dev', '@affine/web'], {
env, env,
cwd, cwd,
stdio: 'inherit', stdio: 'inherit',