Skip to content

Commit aa486d1

Browse files
authored
chore: Update WebSocket content reload logger prefix for clarity (#3522)
1 parent 781bec7 commit aa486d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/internal/websocket.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { useRuntimeConfig, refreshNuxtData } from '#imports'
33
import { joinURL } from 'ufo'
44

55
const logger = {
6-
log: (...args: unknown[]) => console.log('[Content]', ...args),
7-
warn: (...args: unknown[]) => console.warn('[Content]', ...args),
6+
log: (...args: unknown[]) => console.log('[Nuxt Content : Hot Content Reload]', ...args),
7+
warn: (...args: unknown[]) => console.warn('[Nuxt Content : Hot Content Reload]', ...args),
88
}
99

1010
let ws: WebSocket | undefined

0 commit comments

Comments
 (0)