Skip to content

High performance self-hosted photo and video management solution.

feat(server): tsconfig: don't clear console on nest startup (#4032)

Jonathan Jogenfors3edade6761cb
diff --git a/server/package.json b/server/package.json
index 00b54358eb..7f062e15a2 100644
--- a/server/package.json
+++ b/server/package.json
@@ -15,8 +15,8 @@
"format:fix": "prettier --write .",
"start": "npm run start:dev",
"nest": "nest",
- "start:dev": "nest start --watch --preserveWatchOutput --",
- "start:debug": "nest start --debug 0.0.0.0:9230 --watch --preserveWatchOutput --",
+ "start:dev": "nest start --watch --",
+ "start:debug": "nest start --debug 0.0.0.0:9230 --watch --",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"check": "tsc --noEmit",
diff --git a/server/tsconfig.json b/server/tsconfig.json
index d342285abb..cd7b3f1b9c 100644
--- a/server/tsconfig.json
+++ b/server/tsconfig.json
@@ -15,37 +15,18 @@
"incremental": true,
"skipLibCheck": true,
"esModuleInterop": true,
+ "preserveWatchOutput": true,
"baseUrl": "./",
"paths": {
- "@test": [
- "test"
- ],
- "@test/*": [
- "test/*"
- ],
- "@app/immich": [
- "src/immich"
- ],
- "@app/immich/*": [
- "src/immich/*"
- ],
- "@app/infra": [
- "src/infra"
- ],
- "@app/infra/*": [
- "src/infra/*"
- ],
- "@app/domain": [
- "src/domain"
- ],
- "@app/domain/*": [
- "src/domain/*"
- ]
+ "@test": ["test"],
+ "@test/*": ["test/*"],
+ "@app/immich": ["src/immich"],
+ "@app/immich/*": ["src/immich/*"],
+ "@app/infra": ["src/infra"],
+ "@app/infra/*": ["src/infra/*"],
+ "@app/domain": ["src/domain"],
+ "@app/domain/*": ["src/domain/*"]
}
},
- "exclude": [
- "dist",
- "node_modules",
- "upload"
- ]
-}
\ No newline at end of file
+ "exclude": ["dist", "node_modules", "upload"]
+}