Fork me on GitHub
#boot
<
2017-02-13
>
clojuregeek01:02:54

does anyone have a sample of a boot config / compojure that lets me have clj ring server handlers serving up a cljs index file?

clojuregeek01:02:32

yeah, maybe! let me look 🙂 thanks

mattyulrich14:02:23

Hi all - been looking around and not really found a good answer to this question: is there a way to run middleware tasks I create from the boot repl? I guess the problem is in bootstrapping the filesets to pass into the tasks… is there something that I can compose my task with to do this?

bhagany15:02:38

@mattyulrich I'm not sure I fully understand your question... (boot (your-task)) is generally how I would run something from the repl, and it should create a fileset just like it would from the command line.

bhagany15:02:05

Maybe I'm missing something though?

mattyulrich15:02:57

Wow… Thanks @bhagany; I totally missed that there is a boot function to do that. I guess I should have found that in the doc somewhere - but that wasn’t clear to me. Works like a charm, thanks!

bhagany15:02:21

No worries, I found it surprisingly late myself 🙂

lmergen18:02:27

wow TIL, I never knew about that task

lmergen18:02:48

that's going to make repl dev a lot more pleasant

alandipert20:02:59

related questions come up here frequently in #boot, thanks in advance for helping to spread the enlightenment 😄

mattyulrich23:02:35

This is a great article, @alandipert; exactly the kind of thing I was looking for earlier. Thanks!