Liking cljdoc? Tell your friends :D

lambdaisland.funnel-client.examples.reload

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"

raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close