Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

chore(backend): ignore spec files in Nest SWC watch mode

johaven6df2af1f4238
diff --git a/backend/nest-cli.json b/backend/nest-cli.json
index d3eef17e..bca55a39 100755
--- a/backend/nest-cli.json
+++ b/backend/nest-cli.json
@@ -3,7 +3,12 @@
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
- "builder": "swc",
+ "builder": {
+ "type": "swc",
+ "options": {
+ "ignore": ["**/*spec.ts"]
+ }
+ },
"typeCheck": true,
"deleteOutDir": true,
"watchAssets": true,