Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

build: update `nx.json`

himself65c5eb16139fdd
diff --git a/nx.json b/nx.json
index 024ccb9de1..d3fe5d2ae9 100644
--- a/nx.json
+++ b/nx.json
@@ -69,6 +69,9 @@
{ "runtime": "yarn playwright --version" }
]
},
+ "dev": {
+ "dependsOn": ["^build"]
+ },
"e2e:coverage": {
"dependsOn": ["^build"]
},
diff --git a/packages/cli/src/dev.mjs b/packages/cli/src/dev.mjs
index 6d2c1b61ea..e5f807839c 100755
--- a/packages/cli/src/dev.mjs
+++ b/packages/cli/src/dev.mjs
@@ -89,7 +89,7 @@ runCli(
console.error
);
-spawn('yarn', ['dev'], {
+spawn('nx', ['dev', '@affine/web'], {
env,
cwd,
stdio: 'inherit',