Skip to content

Commit

Permalink
fix(core): make webpack HMR always listen to current location (#7951)
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
  • Loading branch information
jeengbe and Josh-Cena committed Aug 18, 2022
1 parent fd41f46 commit c706b23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/docusaurus/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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': '*',
Expand Down

0 comments on commit c706b23

Please sign in to comment.