From 6d49d975598cd7f48e2b7347c2b83d8aac6a2f56 Mon Sep 17 00:00:00 2001
From: Aswanth <aswanth366@gmail.com>
Date: Sat, 24 May 2025 04:55:07 +0000
Subject: [PATCH] fix(analytics): streamline posthog script loading and event capturing (#1974)
---
quartz/cli/args.js | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/quartz/cli/args.js b/quartz/cli/args.js
index 4f330cd..d2408e9 100644
--- a/quartz/cli/args.js
+++ b/quartz/cli/args.js
@@ -41,6 +41,11 @@
default: true,
describe: "create a git commit for your unsaved changes",
},
+ message: {
+ string: true,
+ alias: ["m"],
+ describe: "option to override the default Quartz commit message",
+ },
push: {
boolean: true,
default: true,
@@ -66,6 +71,11 @@
default: false,
describe: "run a local server to live-preview your Quartz",
},
+ watch: {
+ boolean: true,
+ default: false,
+ describe: "watch for changes and rebuild automatically",
+ },
baseDir: {
string: true,
default: "",
@@ -76,6 +86,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