mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 15:12:01 +03:00
Update stream url.
This commit is contained in:
parent
f6b87947ea
commit
fd852d9b8b
2
examples/docs/static/hmr.js
vendored
2
examples/docs/static/hmr.js
vendored
@ -6,7 +6,7 @@ let updateAppContentJson = new Promise((resolve, reject) => resolve(() => {}));
|
||||
|
||||
function connect(sendContentJsonPort) {
|
||||
// Listen for the server to tell us that an HMR update is available
|
||||
eventSource = new EventSource("stream");
|
||||
eventSource = new EventSource("/stream");
|
||||
eventSource.onmessage = async function (evt) {
|
||||
showCompiling("");
|
||||
if (evt.data === "content.json") {
|
||||
|
@ -6,7 +6,7 @@ let updateAppContentJson = new Promise((resolve, reject) => resolve(() => {}));
|
||||
|
||||
function connect(sendContentJsonPort) {
|
||||
// Listen for the server to tell us that an HMR update is available
|
||||
eventSource = new EventSource("stream");
|
||||
eventSource = new EventSource("/stream");
|
||||
eventSource.onmessage = async function (evt) {
|
||||
showCompiling("");
|
||||
if (evt.data === "content.json") {
|
||||
|
Loading…
Reference in New Issue
Block a user