Fork me on GitHub
#lein-figwheel
<
2016-02-10
>
tedhogan17:02:56

Is there a way to have figwheel call an init function, similar to the option on ring handler? My datasource isn’t getting set up properly when I use lein figwheel

peeja18:02:46

I'm having trouble getting figwheel to build my (new, hasn't-worked-yet) devcards build…

peeja18:02:02

where figwheel is trying to slurp the output file, and failing because it doesn't exist

peeja18:02:21

But…of course it doesn't exist. I want to build it there, and it hasn't built yet. Am I missing something?

peeja18:02:18

Ohhh… cljsbuild fails, so I guess the build is failing silently in figwheel?

peeja18:02:43

(`Assert failed: :source-map must be true or false when compiling with :optimizations :none but it is: "resources/public/cljs/out/sourcemap-devcards.js"`)

bhauman21:02:20

@peeja: yeah looks like the assertion error is getting swallowed

bhauman21:02:19

I'm taking a big look at configuration warnings and errors right now.