Fork me on GitHub
#dirac
<
2017-06-25
>
darwin19:06:27

“enabling REPL evaluation in-browser on top of Figwheel’s reloading” does this mean that you use Figwheel’s compiler state for REPL evaluations?

darwin19:06:24

if not, this sounds quite misleading to my ears 🙂

richiardiandrea19:06:31

Well maybe it is misleading

richiardiandrea19:06:20

What that does is to trigger autoreload and all the niceties from figwheel

richiardiandrea19:06:50

Does dirac keeps a separate compiler state? If so then I need to change that

darwin19:06:00

is figwheel sidecar running in the same JVM as nREPL server in your setup?

richiardiandrea19:06:38

The dirac nrepl server runs from the boot fileset/environment

richiardiandrea19:06:48

Actually is not dirac's

richiardiandrea19:06:04

It is an nrepl server with figwheel sidecar indeed

darwin19:06:25

ok, what do you see when you run (dirac :status) ?

darwin19:06:37

in browser REPL

richiardiandrea19:06:50

Uhm need to run now but I will try that when I come back

richiardiandrea19:06:59

What should I see?

darwin19:06:30

I don’t rememeber exactly, but there is a description about dirac REPL session

darwin19:06:49

and some commands to list/switch compiler states if more avail

darwin19:06:58

including figwheel’s

richiardiandrea19:06:08

Ok coo will report back

darwin19:06:38

see the screenshot

richiardiandrea20:06:22

Uhm maybe I don't start the sidecar loop..because boot has its own watch actually

richiardiandrea20:06:05

So I might still need an additional step - pass state to dirac

darwin20:06:41

I will look into your boot project later today, will investigate the situation

richiardiandrea20:06:51

:k running for real now 😀😀

darwin20:06:59

this would be pretty advanced setup, but cool one 🙂

richiardiandrea20:06:42

Yeah it is doable, I expose a websocket server so I just need to emulate what figwheel sidecar does

richiardiandrea20:06:00

And i am already doing it or the client hud would not work

darwin22:06:04

it looks like you are using some debug api I’m missing here for some reason, don’t have time investigate right now, I’m a first time boot user