Fork me on GitHub
#boot
<
2016-09-09
>
micha00:09:23

thanks @flyboarder for making the issue

yury.solovyov09:09:47

@martinklepsch how well boot supports figweel?

yury.solovyov09:09:16

for clojurescript dev.

martinklepsch09:09:56

@yury.solovyov in boot there's boot-reload which serves the same purpose.

martinklepsch09:09:12

It's not very popular to use figwheel in boot projects but I believe it's possible

yury.solovyov09:09:46

is it for code only or works for styles too?

dominicm09:09:07

I think it even has an image handler

yury.solovyov10:09:33

@dominicm you mean one that inlines images as base64 ?

dominicm10:09:41

@yury.solovyov When you update an image in your pipeline, it looks for the image on the page, and causes your browser to refresh the image by setting the src attribute

yury.solovyov10:09:09

ah, well, that's fine too

pesterhazy15:09:20

the fact that boot-cljs doesn't speak on syntax errors (e.g. map literal with uneven number of forms) is irritating

pesterhazy15:09:45

it catches me every time

pesterhazy15:09:07

is fixing this part of the planned refactoring of how exceptions are handled in the boot pipeline?

micha15:09:14

@pesterhazy where in the pipeline is the speak task?

micha15:09:27

ah nevermind i see the problem now 🙂

pesterhazy15:09:01

roughly, (comp (watch) (cljs) (speak))

micha15:09:09

yes i think this will be addressed with the refactoring

micha15:09:37

you'll have to probably put speak before anything that can throw an exception

pesterhazy16:09:57

I'm always a bit fuzzy about where in the pipeline things should go

pesterhazy16:09:56

for me these two things are my issues with boot right now: boot-cljs continuing despite warnings (https://github.com/adzerk-oss/boot-cljs/issues/106) and less-than-perfect error reporting for some errors (syntax errors, namespace problems. etc)

pesterhazy16:09:28

the first problem should be easily fixable in boot-cljs (I should build a PR for that)

pesterhazy16:09:46

omg omg @micha I just tried putting speak before cljs and it correctly reports syntax errors now

pesterhazy16:09:59

I was doing it wrong all along!

alandipert16:09:37

we have a good plan to improve the warnings story, improvements coming Real Soon Now ™️

dominicm19:09:16

@pesterhazy: before?! That simultaneously makes sense and doesn't. Darn you function composition looking like a file stream 😃

mac19:09:37

No response in the cider channel, so i'll try here: I am using boot, cider, cider-nrepl [0.14.0-SNAPSHOT] - what could cause No such namespace for javascript libs included via foreign-libs in boot.build, when trying to cider-eval-ns-form - file compiles and runs fine.

pesterhazy19:09:09

@dominicm: yes the mysterious ways of middleware

dominicm20:09:09

@mac: is your build.boot public?

dominicm20:09:48

Or rather, what's in your build.boot

mac20:09:55

@dominicm Is the externs.js relevant?

dominicm20:09:09

@mac: I'm sorry, it's a bit beyond me to be honest. I just thought it would be relevant for debugging 😃

mac20:09:38

@dominicm No problem 🙂