Fork me on GitHub
#integrant
<
2022-06-08
>
DenisMc08:06:56

Hi, I’m confused by some behaviour I’m seeing. I’m starting an integrant app using (integrant.repl/go) . This is being run in a K8S environment via a main function started using java -jar. Works fine. However, when I connect to the running JVM using an nrepl to do some debugging, I assumed that the running system would be viewable in the integrant.repl.state/system var - but it is nil. The system is running, because I can see the log messages it is creating. Is there something more I need to do to get access to the running system?

DenisMc09:06:42

Ok, resolved this - starting the system using integrant.repl/go rather than integrant.core/init does the trick.