Skip to content

The open alternative to Salesforce, designed for AI.

Fix npx nx run start (twenty:server:worker was not triggered) (#8384)

Guillim2ab4aa13778f
diff --git a/package.json b/package.json
index 2d448428998..41e8e4b35b2 100644
--- a/package.json
+++ b/package.json
@@ -350,7 +350,7 @@
"version": "0.2.1",
"nx": {},
"scripts": {
- "start": "npx nx run-many -t start worker -p twenty-server twenty-front"
+ "start": "npx concurrently --kill-others 'npx nx run-many -t start -p twenty-server twenty-front' 'npx wait-on tcp:3000 && npx nx run twenty-server:worker'"
},
"workspaces": {
"packages": [