branch: elpa/hyperdrive
commit 84844d645f04a31002a2361ef24243a386e89dfc
Author: Joseph Turner <[email protected]>
Commit: Joseph Turner <[email protected]>
Fix: (h/gateway-command-args) Run gateway on user-defined port
---
hyperdrive-vars.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hyperdrive-vars.el b/hyperdrive-vars.el
index 2a7326f611..b27f96a446 100644
--- a/hyperdrive-vars.el
+++ b/hyperdrive-vars.el
@@ -52,7 +52,8 @@ Command `hyperdrive-install' installs to this name inside
`h//gateway-path' looks for executable by this name."
:type 'string)
-(defcustom h/gateway-command-args "run --writable true --silent true"
+(defcustom h/gateway-command-args
+ (format "run --writable true --silent true --port %s"
hyperdrive-gateway-port)
"Arguments passed to the gateway."
:type 'string
:group 'hyperdrive)