I can answer some of these: 1. Most optimized sites do this 3. Running browser REPL & auto build - not currently, but that would be a nice feature, open a ticket on GitHub. 2 Java processes - Could probably be done via custom Lein task? 4. ClojureScript One predates lein-cljsbuild. lein-cljsbuild is probably the way to go moving forward, IMO.
David On Tue, May 8, 2012 at 12:52 PM, Dave Barker <[email protected]> wrote: > Over the weekend I was playing with Clojurescript One with success. I'm > now setting up my own project, I've found it pretty hard going but I've now > got a browser repl working and my Clojurescript code building. > > I have a few questions though: > > 1. How come the script tags that include your built Javascript seem to > belong inside the html body instead of head as I've always seen elsewhere? > (I only noticed the examples did > this<https://github.com/emezeske/lein-cljsbuild/blob/master/example-projects/advanced/resources/private/html/naked.html>when > my project failed to work.) > 2. What creates the /repl route? I've not got it in my defroutes > statement so I'm curious how that works. > 3. With lein-cljsbuild is there a way to both have a browser repl and > auto build going at the same time? Also is there a way to avoid having two > copies of Java going, one for your ring server and one for your browser > repl? > 4. Finally I noticed Clojurescript One doesn't use lein-cljsbuild and > instead uses some custom code. Is lein-cljsbuild not the right way to go > for my project? > > Cheers, Dave. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
