Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 271a6e1

Browse files
committed
1 parent 4b4874b commit 271a6e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dev-server/notification-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function createNotificationServer(config: ServeConfig) {
6969
});
7070

7171
// create web socket server
72-
const wss = new WebSocketServer({ port: config.notificationPort });
72+
const wss = new WebSocketServer({ host: config.host, port: config.notificationPort });
7373
wss.broadcast = function broadcast(data: any) {
7474
wss.clients.forEach(function each(client: any) {
7575
client.send(data);

0 commit comments

Comments
 (0)