diff options
author | Teddy Wing | 2021-02-21 18:01:30 +0100 |
---|---|---|
committer | Teddy Wing | 2021-02-21 18:01:30 +0100 |
commit | b5af25ff7851498af855fe7f252117b3a0bee070 (patch) | |
tree | 009c360269272a96791c90640a2c262e0666baeb /l/src/main.lisp | |
parent | 38222bb0ae1d282a458c3318a1789d932bd0655b (diff) | |
download | extreload-b5af25ff7851498af855fe7f252117b3a0bee070.tar.bz2 |
websocket-send: Add debug output for WebSocket message send
Realised I'm only printing the received messages. It would help to see
what messages we send and when too. Still having the inconsistent tab
reload problem, so it looks like my
16c8122254725805be666cf065c590d54d66dfad change didn't fix it.
Diffstat (limited to 'l/src/main.lisp')
-rw-r--r-- | l/src/main.lisp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/l/src/main.lisp b/l/src/main.lisp index 8df0172..bf16ef4 100644 --- a/l/src/main.lisp +++ b/l/src/main.lisp @@ -139,5 +139,7 @@ (filter #'extensionp targets))) (defun websocket-send (client data) + (format t "Sending: ~a~%" data) + (wsd:send client data) (wait-group:add *wg*)) |