File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -402,25 +402,25 @@ function pingWorkerContentMain(socketUrl: string) {
402
402
port . addEventListener ( 'message' , ( event ) => {
403
403
const { visibility } = event . data
404
404
visibilityManager . currentState = visibility
405
- console . debug ( 'new window visibility' , visibility )
405
+ console . debug ( '[vite] new window visibility' , visibility )
406
406
for ( const listener of visibilityManager . listeners ) {
407
407
listener ( visibility )
408
408
}
409
409
} )
410
410
port . start ( )
411
411
412
- console . debug ( 'connected from window' )
412
+ console . debug ( '[vite] connected from window' )
413
413
waitForSuccessfulPingInternal ( socketUrl , visibilityManager ) . then (
414
414
( ) => {
415
- console . debug ( 'ping successful' )
415
+ console . debug ( '[vite] ping successful' )
416
416
try {
417
417
port . postMessage ( { type : 'success' } )
418
418
} catch ( error ) {
419
419
port . postMessage ( { type : 'error' , error } )
420
420
}
421
421
} ,
422
422
( error ) => {
423
- console . debug ( 'error happened' , error )
423
+ console . debug ( '[vite] error happened' , error )
424
424
try {
425
425
port . postMessage ( { type : 'error' , error } )
426
426
} catch ( error ) {
You can’t perform that action at this time.
0 commit comments