You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using VS Code, press <kbd>cmd</kbd> + <kbd>shift</kbd> + <kbd>B</kbd> or <kbd>Windows</kbd> + <kbd>Shift</kbd> + <kbd>B</kbd> to build the project automatically.\n\
263
170
")]) ;
264
171
Dir ("generator", [
265
172
Dir ("src", [
@@ -845,7 +752,7 @@ let root = OCamlRes.Res.([
845
752
function setUpWebSocket() {\n\
846
753
\ if (websocketReloader == null || websocketReloader.readyState !== 1) {\n\
847
754
\ try {\n\
848
-
\ websocketReloader = new WebSocket(`ws://localhost:${webSocketPort}`);\n\
755
+
\ websocketReloader = new WebSocket(`ws://${window.location.hostname}:${webSocketPort}`);\n\
849
756
\ websocketReloader.onmessage = (message) => {\n\
850
757
\ var newData = JSON.parse(message.data).LAST_SUCCESS_BUILD_STAMP;\n\
851
758
\ if (newData > LAST_SUCCESS_BUILD_STAMP) {\n\
@@ -1813,7 +1720,7 @@ let root = OCamlRes.Res.([
1813
1720
function setUpWebScoket() {\n\
1814
1721
\ if (wsReloader == null || wsReloader.readyState !== 1) {\n\
1815
1722
\ try {\n\
1816
-
\ wsReloader = new WebSocket(`ws://localhost:${WS_PORT}`)\n\
1723
+
\ wsReloader = new WebSocket(`ws://${window.location.hostname}:${WS_PORT}`)\n\
1817
1724
\ wsReloader.onmessage = (msg) => {\n\
1818
1725
\ var newData = JSON.parse(msg.data).LAST_SUCCESS_BUILD_STAMP\n\
Copy file name to clipboardExpand all lines: jscomp/bsb/templates/basic-reason/README.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,3 @@ yarn start
22
22
npm run start
23
23
```
24
24
25
-
# Editor
26
-
27
-
If you're using VS Code, press <kbd>cmd</kbd> + <kbd>shift</kbd> + <kbd>B</kbd> or <kbd>Windows</kbd> + <kbd>Shift</kbd> + <kbd>B</kbd> to build the project automatically.
0 commit comments