diff --git a/packages/vite/src/client/client.ts b/packages/vite/src/client/client.ts index 1a1968168683c1..5aec1eae9c5bc0 100644 --- a/packages/vite/src/client/client.ts +++ b/packages/vite/src/client/client.ts @@ -13,7 +13,7 @@ declare const __HMR_PORT__: string declare const __HMR_TIMEOUT__: number declare const __HMR_ENABLE_OVERLAY__: boolean -console.log('[vite] connecting...') +console.debug('[vite] connecting...') // use server configuration, then fallback to inference const socketProtocol = @@ -64,7 +64,7 @@ let isFirstUpdate = true async function handleMessage(payload: HMRPayload) { switch (payload.type) { case 'connected': - console.log(`[vite] connected.`) + console.debug(`[vite] connected.`) sendMessageBuffer() // proxy(nginx, docker) hmr ws maybe caused timeout, // so send ping package let ws keep alive.