fix(core): make webpack HMR always listen to current location (#7951)

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
Jesper 2022-08-18 19:45:33 +02:00 committed by GitHub
parent fd41f46176
commit c706b23666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,6 +188,10 @@ export async function start(
warnings: false,
errors: true,
},
webSocketURL: {
hostname: '0.0.0.0',
port: 0,
},
},
headers: {
'access-control-allow-origin': '*',