build: watchfiles 추가 — 자동 리로드를 이벤트 방식으로

사용자 승인(2026-09-07). 없으면 우버콘이 StatReload 로 떨어져 0.25초마다
감시 폴더를 통째로 훑고, 그러면 요청이 없어도 CPU 를 먹음.

실측 (놀고 있는 서버) — 감시 폴더를 좁히기 전 **70%** → 좁힌 뒤 **18%** →
이 패키지 설치 뒤 **0%**. 기동 로그가
`Started reloader process [...] using WatchFiles` 로 바뀜.
보조 창(8001)도 같은 값 확인 — 리로더 0% · 서버 0%.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-07 09:11:43 +09:00
co-authored by Claude Opus 5
parent a0bd9c8775
commit 55895c3eaf
+4
View File
@@ -53,6 +53,10 @@ trimesh==4.12.2
typing_extensions==4.16.0 typing_extensions==4.16.0
tzdata==2026.2 tzdata==2026.2
uvicorn==0.24.0 uvicorn==0.24.0
# 자동 리로드를 **이벤트 방식**으로 바꾼다(2026-09-07 사용자 승인). 없으면 우버콘이
# StatReload 로 떨어져 0.25초마다 폴더를 통째로 훑고, 그러면 요청이 없어도 CPU 를 먹는다
# (실측: 감시 폴더를 좁히기 전 70%, 좁힌 뒤 18%, 이 패키지 설치 뒤 0%대).
watchfiles==1.2.0
wheel==0.47.0 wheel==0.47.0
whitebox==2.3.6 whitebox==2.3.6
pytest>=8 pytest>=8