Hi, I've set up lein-ring with ring :auto-refresh? true but don't see updates in the browser unless I refresh manually. It seems I have something configured wrong but I can't see it. Does this look right?...
(defproject mystuff "0.1.0-SNAPSHOT" :description "experiment" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [hiccup "1.0.5"]] :plugins [[lein-ring "0.8.10"]] :ring {:handler mystuff.core/ring-handler :auto-reload? true :auto-refresh? true} :target-path "target/%s") My ring-handler function is basically a copy of the hello world one on ring's site, but the body comes from a defined value. (def x (html [:h1 ("hello")])) (defn ring-handler [request] {:status 200 :headers {"Content-Type" "text/html"} :body x}) The :auto-reload? true works as expected. But not :auto-refresh? true. I'm after the live coding experience here. And I want it to be with lein-ring if I can. (I tried Daniel Szmulewicz's cool emacs way but I think lein-ring will fit my needs better.) confuzzled, boz -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.