From b6b1dabde0f63ca0ae743aa7f4266ca892d7b5e5 Mon Sep 17 00:00:00 2001
From: Jeremy Press <jeremypress1@gmail.com>
Date: Mon, 28 Aug 2023 00:39:42 +0000
Subject: [PATCH] feat: support configurable ws port and remote development (#429)
---
quartz/cli/handlers.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/cli/handlers.js b/quartz/cli/handlers.js
index cba0ceb..bc3da73 100644
--- a/quartz/cli/handlers.js
+++ b/quartz/cli/handlers.js
@@ -402,7 +402,7 @@
return serve()
})
server.listen(argv.port)
- const wss = new WebSocketServer({ port: 3001 })
+ const wss = new WebSocketServer({ port: argv.wsPort })
wss.on("connection", (ws) => connections.push(ws))
console.log(
chalk.cyan(
--
Gitblit v1.10.0