release: WRNexusJS 0.2.75

This commit is contained in:
Clintchiz committed 2026-07-21 12:30:46 +05:30
1 parent 2ca2d02b22
commit 69b6cd431f
100 files changed
+2313 -116

No files matched your search

+11
View File
@@ -31,6 +31,17 @@ export class HmrHub {
this.sockets.delete(ws);
}
broadcastJson(message: unknown): void {
const payload = JSON.stringify(message);
for (const ws of this.sockets) {
try {
ws.send(payload);
} catch {
this.sockets.delete(ws);
}
}
}
broadcast(message: HmrMessage): void {
const payload = JSON.stringify(message);
for (const ws of this.sockets) {