Fork me on GitHub
#lein-figwheel
<
2016-12-23
>
hlolli13:12:20

@ashnur nrepl logs? browser console logs?

Aron14:12:58

@hlolli browser console logs. I don't know how nrepl would or could help me

Aron14:12:11

so i am not using.

roosta14:12:03

you could call (.clear js/console) in :figwheel {:on-jsload "your.function/here"} >Setting :figwheel true or :figwheel { :on-jsload "example.core/reload-hook" } will automagically insert the figwheel client code into your application. If you supply :on-jsload the name of a function, that function will be called after new code gets reloaded.

Aron14:12:51

thank you, that looks like what i am looking for

peeja16:12:54

I'd really like to get figwheel to run my tests in the background and alert me via the notifications at the bottom of the screen if anything fails. Is there any prior art or thinking about that, or should I start from scratch?

richiardiandrea18:12:54

@peeja that's an excellent idea, it would require to customize both figwheel client and server, but it is something worth exploring I think