Hi, > I guess that at least the following require a restart. Please correct / > explain as needed : > > - change in CSS file on disk ? > - change in template file (either enfocus / hiccup-on-the-browser -don't > remember the name) ? > > and also when doing certain changes to the ClojureScript code itself : > - when I add a new namespace ? > - same problem with multimethods as JVM Clojure ? > - ... ?
You need to refresh the browser every time you update cljs/css/js file on disk as with normal javascript webapp development. Personally I don't use browser-repl frequently because I refresh the browser in a short time interval. > - same problem with multimethods as JVM Clojure ? Sorry, I don't understand what this means. Anyway I don't recommend using multimethods in cljs because it is not fast. Cheers, - Takahiro On Sep 11, 4:52 pm, Laurent PETIT <laurent.pe...@gmail.com> wrote: > 2012/9/10 Takahiro Hozumi <fat...@googlemail.com> > > > Hi, > > I refresh browser every time I change cljs files. > > > > "Using the REPL as the main way to deliver code to the browser means > > never having to refresh the page. One could theoretically build an entire > > application without a single page refresh. If you find yourself refreshing > > the page after every change you make, you're doing it wrong. What is this, > > 2009?" > > > I think this is somewhat exaggeration. > > REPL isn't good enough to push the all changes into browser. > > Hello, > > While I could learn "the long and hard way" where & when it is necessary to > restart the ClojureScript application (refresh the browser), I'd be > interesting in feedback in this area. > > I guess that at least the following require a restart. Please correct / > explain as needed : > > - change in CSS file on disk ? > - change in template file (either enfocus / hiccup-on-the-browser -don't > remember the name) ? > > and also when doing certain changes to the ClojureScript code itself : > - when I add a new namespace ? > - same problem with multimethods as JVM Clojure ? > - ... ? > > Thanks in advance, > > -- > Laurent -- 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