aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/hmr.ts
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-08-15 22:17:20 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-08-15 22:17:20 -0700
commit23357806183eff94632915239f7b98a4046eb3d7 (patch)
treeefdd9eae103bd29f2a914eccb1f4c2e0009d3fa1 /src/runtime/hmr.ts
parentbd11b04c18ef0ab5ba05b043829a729f45e53d5e (diff)
downloadbun-23357806183eff94632915239f7b98a4046eb3d7.tar.gz
bun-23357806183eff94632915239f7b98a4046eb3d7.tar.zst
bun-23357806183eff94632915239f7b98a4046eb3d7.zip
rename to bun
Former-commit-id: f982fc85fac3f0120e1851ad4027dd8413216439
Diffstat (limited to 'src/runtime/hmr.ts')
-rw-r--r--src/runtime/hmr.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/hmr.ts b/src/runtime/hmr.ts
index 4e91a8a42..f67bb3178 100644
--- a/src/runtime/hmr.ts
+++ b/src/runtime/hmr.ts
@@ -423,7 +423,7 @@ var __HMRModule, __FastRefreshModule, __HMRClient;
const baseURL = new URL(location.origin + "/_api.hmr");
baseURL.protocol = location.protocol === "https:" ? "wss" : "ws";
- this.socket = new WebSocket(baseURL.toString(), ["speedy-hmr"]);
+ this.socket = new WebSocket(baseURL.toString(), ["bun-hmr"]);
this.socket.binaryType = "arraybuffer";
this.socket.onclose = this.handleClose;
this.socket.onerror = this.handleError;
@@ -1143,19 +1143,19 @@ var __HMRModule, __FastRefreshModule, __HMRClient;
var __hmrlog = {
debug(...args) {
- // console.debug("[speedy]", ...args);
+ // console.debug("[bun]", ...args);
console.debug(...args);
},
error(...args) {
- // console.error("[speedy]", ...args);
+ // console.error("[bun]", ...args);
console.error(...args);
},
log(...args) {
- // console.log("[speedy]", ...args);
+ // console.log("[bun]", ...args);
console.log(...args);
},
warn(...args) {
- // console.warn("[speedy]", ...args);
+ // console.warn("[bun]", ...args);
console.warn(...args);
},
};