Fork me on GitHub
#boot
<
2016-05-28
>
eric.shao08:05:56

(require ... '[org.martinklepsch.boot-garden :refer [garden]]) (deftask dev "Build devtips for local development." [] (comp (serve :port 8000 :handler 'devtips.handler/app :reload true) (watch) (speak) (hoplon) (reload) (cljs) (garden :styles-var 'devtips.style/base :output-to "public/css/garden.css" ) ))

eric.shao08:05:41

why the browser doesn’t reload the css after I edit the s

eric.shao08:05:54

‘devtips.style/base ’s code.

eric.shao09:05:19

question about “boot-garden"

eric.shao09:05:46

Sorry I cann’t create a Snippet

lucien.knechtli20:05:43

^ same question - haven't been able to get boot reload to show css changes with boot-sass or boot-less

lucien.knechtli20:05:47

i've been trying to get started using the tenzing template with less

richiardiandrea20:05:01

@lucien.knechtli: I would have a look at https://github.com/Lambda-X/lambone if you want to bootstrap a projects from scratch with both backend and frontend

richiardiandrea20:05:12

so wait I will paste my way

lucien.knechtli20:05:36

i'll take a look at that as well

lucien.knechtli20:05:55

since tenzing is frontend only and I'll eventually want a clojure backend

richiardiandrea20:05:37

yeah lambone gives you both + boot + cljs + sass and I will introduce optional dirac soon

richiardiandrea20:05:51

apart from the apply noise

richiardiandrea20:05:58

that's the order

lucien.knechtli20:05:30

think the only reason it's taken me so long to make a real cljs project is that I haven't been able to put together a toolset that works well >.<

richiardiandrea20:05:15

oh well, tenzing is working fine here, I started with it actually, then slowly developed my opinionated template 😉

lucien.knechtli20:05:16

started off with juxt/edge, but that's a bit of a mess and the complexity wasn't a good place to start

richiardiandrea20:05:27

lambone started off edge

richiardiandrea20:05:37

especially the repl in pod part

richiardiandrea20:05:00

then evolved in something maybe a bit more complicated to read, but easier (hopefully) to use

richiardiandrea20:05:17

but it is version 0.1.0 so please forgive me some rough edge ok?

lucien.knechtli20:05:45

that part is definitely nice. there's a lot in juxt that's good to take from, but making a project off of it without really understanding how boot does everything didn't do me any favors

richiardiandrea20:05:59

I think lambone is not for boot starters...and it is always better, if you really want to learn, to compose your build.boot piece by piece

lucien.knechtli20:05:12

I'm currently working with angular 1.x.x at work, so its all pretty new territory for me other than trying to learn basic clojure a bit back

lucien.knechtli20:05:18

but yea, that's why I started over from tenzing, since it's much more bare bones than edge was

richiardiandrea20:05:45

in general it is a good starting point

richiardiandrea20:05:03

lambone is a bit too much to start with

richiardiandrea20:05:36

but you can ask here Martin is always around and a very helpful person

lucien.knechtli20:05:00

awesome. thanks 🙂 I'll take a look at how lambone does css reloading

richiardiandrea20:05:03

great...there are btw two sass boot tasks, you can see that I am using Deraen's one

lucien.knechtli20:05:45

yea that's the one I was trying to use