Hacker News new | past | comments | ask | show | jobs | submit login

But then you at least want Figwheel in there, and it's not necessarily easy to know how vastly better your life will be with it if you've never done cljs before. It would be neato with a cljs IDE for approachability. An MVP could be lein + cljs + figwheel + lein ancient, editor + webkit viewer.



I'm late to the party but since the poster only showed us the tree we don't know what else is going on in that build.boot. boot-http, boot-cljs, boot-cljs-repl, and boot-reload

Provide all the features of lein-ring, lein-figwheel, and lein-cljsbuild with a simpler setup and no clojure neccessary in a clojurescript project.

Serving compiled clojurescript, reloading cljs and css, with a browser repl, is really simple in boot. The boot tools work together better than the leiningen tools do.

If you look at the Tenzing template's build.boot, which doesn't have a lot going on, you'll see how straightforward the meat of it is, without ending up with other JVMs.

https://github.com/martinklepsch/tenzing/blob/master/resourc...

    lein new tenzing some-project
    emacs some-project/build.boot
    M-x cider-jack-in
    // switch to repl:
    (boot (dev))
    M-x cider-replicate-connection
    // switch to new repl
    (start-repl)
That's it. The first repl gives you feedback on the dev server and reloading. The second repl gives you a browser repl. Cider has also levelled up, such that when the browser repl connects it gets picked up by nrepl and just works. All of this with one JVM... and no Clojure sources in your ClojureScript only application.

I stress again that the template really doesn't do a heck of a lot and the build.boot, the filesystem layout, and the way boot works is really the whole of the story. I wish Boot were better documented/marketted, so I could've switched to it long ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: