| commit 70d7c2c01c68b9ba072a44443d083672f6f8ac3b parent 4ca60e81ae117864951a3b30d927b63e90a6ed48 Author: sqzer <110329244+sqzer-x@users.noreply.github.com> Date: Mon, 27 Jul 2026 21:53:19 +0900 serve 감시 목록에서 존재하지 않는 data/ 를 뺀다 WATCH_DIRS의 "data"는 hwaro의 data/ 디렉터리 개념을 참조하던 잔재다. 빌드 파이프라인 어디에도 data/ 를 읽는 코드가 없다는 걸 grep으로 재확인했다. is_dir() 가드 덕에 무해했지만, 감시 목록은 곧 기능 목록으로 읽힌다 — 존재하지 않는 기능을 감시하지 않는다. Diffstat:
|
| 1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git a/src/serve.rs b/src/serve.rs @@ -107,7 +107,7 @@ pub async fn serve(opts: ServeOptions) -> Result<()> { /// 감시 대상 디렉터리. 출력 디렉터리는 넣지 않는다 — 자기가 쓴 걸 보고 다시 빌드하는 /// 무한 루프가 된다. -const WATCH_DIRS: &[&str] = &["content", "templates", "static", "i18n", "data"]; +const WATCH_DIRS: &[&str] = &["content", "templates", "static", "i18n"]; fn spawn_watcher( root: &Path, |