Skip to content

The open alternative to Salesforce, designed for AI.

Fix EMFILE: too many open files, watch on macOS (#17901)

Félix Malfaite6d3dc07e2fa
diff --git a/packages/twenty-server/project.json b/packages/twenty-server/project.json
index c26ea7eba1e..0a6fa91bc32 100644
--- a/packages/twenty-server/project.json
+++ b/packages/twenty-server/project.json
@@ -50,7 +50,7 @@
"dependsOn": ["^build"],
"options": {
"cwd": "packages/twenty-server",
- "command": "NODE_ENV=development nest start --watch"
+ "command": "rimraf dist && NODE_ENV=development nest start --watch"
}
},
"start:ci": {
@@ -73,7 +73,7 @@
"dependsOn": ["^build"],
"options": {
"cwd": "packages/twenty-server",
- "command": "NODE_ENV=development nest start --watch --debug"
+ "command": "rimraf dist && NODE_ENV=development nest start --watch --debug"
}
},
"reset:env": {