Simple demo funnel client that waits for a :reload? message and then reloads the page. Can be used as a naive way to auto refresh an HTML page like this
watchexec --watch index.html sh -c "echo '{:funnel/broadcast [:type :lambdaisland.funnel-client.examples.reload/reload] :reload? true}' | jet --to transit | websocat ws://localhost:44220"
Simple demo funnel client that waits for a :reload? message and then reloads the page. Can be used as a naive way to auto refresh an HTML page like this watchexec --watch index.html sh -c "echo '{:funnel/broadcast [:type :lambdaisland.funnel-client.examples.reload/reload] :reload? true}' | jet --to transit | websocat ws://localhost:44220"
Cross-platform websocket wrapper, borrowed from Figwheel.
Relies on goog.net.WebSocket (https://google.github.io/closure-library/api/goog.net.WebSocket.html)
Cross-platform websocket wrapper, borrowed from Figwheel. Relies on goog.net.WebSocket (https://google.github.io/closure-library/api/goog.net.WebSocket.html)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close