Fork me on GitHub
#boot
<
2015-09-01
>
joelkuiper13:09:34

stupid question, but I’m trying to get cljs to work … but it keeps complaining about ClojureScript could not load :main, did you forget to specify :asset-path? this is the config I’m playing with now https://gist.github.com/joelkuiper/fe63fde980b7e786bfbd

martinklepsch14:09:25

@joelkuiper: usually you get a console message telling you where it looked for main, asset path needs to be adjusted sometimes depending on how you place output files.

joelkuiper14:09:27

sorry for the x-post 😉 #C03S1L9DN got more exposure

martinklepsch14:09:00

have you tried without explicit :asset-path?

joelkuiper14:09:11

yeah without didn’t work

joelkuiper14:09:29

aah maybe I need to set it to public/app.out?

joelkuiper14:09:15

or even public/js/app.out

joelkuiper14:09:28

js/app.out did the trick, thanks simple_smile

joelkuiper14:09:46

bit weird that it’s so explicit, but I guess it makes sense

onetom14:09:21

joelkuiper: nice build.boot. i've just skimmed your blog. i also like that. will read the semantic web and agile articles later. the fuzzy text alignment is something which i was facing in Recognita 2.0 times simple_smile

onetom14:09:39

or copy-pasting from xpdf

joelkuiper14:09:01

Thanks!! To be honest the build.boot was mostly a copy from http://blog.michielborkent.nl/blog/2015/06/06/from-leiningen-to-boot/ 😉

joelkuiper14:09:23

with some Luminus thrown in, but it works now! So that’s nice, on to new projects 😉

joelkuiper14:09:06

(shameless plug) if you like the semantic web stuff checkout my fresh library https://github.com/joelkuiper/yesparql

martinklepsch14:09:43

@joelkuiper: admittedly the fact that you need to explicitly do this kind of stuff is a bit “meh”. Also :asset-path isn’t really documented in the README

joelkuiper14:09:35

yeah, the should’ve read the error message a bit better maybe. But it’s not really clear what to do if you run into this

martinklepsch16:09:33

@joelkuiper: btw, feel invited to ask more questions if you have any simple_smile

joelkuiper17:09:28

@martinklepsch: thanks!! Looks like I have everything working now though

joelkuiper17:09:50

still not sure how I feel about boot-reload vs figwheel

joelkuiper17:09:00

but for now it seems to do the trick simple_smile

martinklepsch17:09:45

what are you missing from figwheel?

joelkuiper21:09:17

the nice animation when reloading 😉

joelkuiper21:09:38

also it seems to loose connection sometimes, so visual indications are nice

alandipert21:09:35

i can imagine a task that injects a compiler status iframe-popper into some html in the fileset

joelkuiper21:09:02

yeah, that would do nicely

joelkuiper21:09:12

I think figwheel just inserts something in the DOM

joelkuiper21:09:28

since it has access to basically everything on the page

martinklepsch21:09:42

There's a ticket for that in boot cljs :)

alandipert21:09:28

could be a cool thing for just regular boot, a lil boot task browser HUD, could show deps etc

martinklepsch21:09:33

It could show progress through the individual steps and show errors/warnings

micha21:09:11

and it could mine bitcoins

martinklepsch21:09:49

That would be awesome!

micha22:09:36

man, i can't see startup videos anymore without thinking of the show Silicon Valley

micha22:09:59

making the world a better place by elegant hierarchies of composable infrastructures