Skip to content

Commit bb45e9f

Browse files
committed
feat: hot-reload의 windows 호환성을 위해 tsc 사용을 강제하고 폴링 옵션 추가
1 parent 8b6c5f8 commit bb45e9f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

apps/backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "nest build",
1010
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
1111
"start": "nest start",
12-
"dev": "nest start --watch",
12+
"dev": "nest start --tsc --watch --preserveWatchOutput --watchAssets",
1313
"start:debug": "nest start --debug --watch",
1414
"start:prod": "node dist/main",
1515
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",

apps/backend/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"noImplicitAny": false,
1717
"strictBindCallApply": false,
1818
"forceConsistentCasingInFileNames": false,
19-
"noFallthroughCasesInSwitch": false
19+
"noFallthroughCasesInSwitch": false,
20+
},
21+
"watchOptions": {
22+
"watchFile": "fixedPollingInterval"
2023
}
2124
}

0 commit comments

Comments
 (0)