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/args.js | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/quartz/cli/args.js b/quartz/cli/args.js
index 4f330cd..3543e2e 100644
--- a/quartz/cli/args.js
+++ b/quartz/cli/args.js
@@ -76,6 +76,16 @@
default: 8080,
describe: "port to serve Quartz on",
},
+ wsPort: {
+ number: true,
+ default: 3001,
+ describe: "port to use for WebSocket-based hot-reload notifications",
+ },
+ remoteDevHost: {
+ string: true,
+ default: "",
+ describe: "A URL override for the websocket connection if you are not developing on localhost",
+ },
bundleInfo: {
boolean: true,
default: false,
--
Gitblit v1.10.0