소스 검색

Fix: move the hotreload msg into debug-only so it's so long

Jonathan Kelley 6 달 전
부모
커밋
d7d2c2fd53
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/cli/src/serve/server.rs

+ 1 - 0
packages/cli/src/serve/server.rs

@@ -256,6 +256,7 @@ impl WebServer {
             return;
         }
 
+        #[cfg(debug_assertions)]
         tracing::trace!("Sending hotreload to clients {:?}", reload);
 
         let msg = DevserverMsg::HotReload(reload);