aboutsummaryrefslogtreecommitdiffstats
path: root/l/src/config.lisp
diff options
context:
space:
mode:
authorTeddy Wing2021-02-03 20:21:03 +0100
committerTeddy Wing2021-02-03 20:21:03 +0100
commit074b4375a54e4bbf4539d37b1418eacb2a70f87a (patch)
treedd8f6eab2cf96188fc95ec92ff35249cfee654f6 /l/src/config.lisp
parentb5c2f3a6ed194245e9c584f25b28d8f7c8f90218 (diff)
downloadextreload-074b4375a54e4bbf4539d37b1418eacb2a70f87a.tar.bz2
main: Get WebSocket URL from command line for `*client*`
Keep the `*client*` global variable, but use the client in `config`, constructed from the WebSocket URL passed from the command line. Not a huge fan of the global variable, but it's way easier to keep it like this rather than passing the client down to the `attach-to-target` and `reload-extension` functions.
Diffstat (limited to 'l/src/config.lisp')
-rw-r--r--l/src/config.lisp1
1 files changed, 1 insertions, 0 deletions
diff --git a/l/src/config.lisp b/l/src/config.lisp
index eb8bede..4e3cbbf 100644
--- a/l/src/config.lisp
+++ b/l/src/config.lisp
@@ -16,6 +16,7 @@
:documentation "True if the current tab should be reloaded")
(ws-client
+ :reader ws-client
:documentation "WebSocket client")))
(defmethod print-object ((object config) stream)