Fork me on GitHub
#luminus
<
2016-12-08
>
yogthos02:12:34

@codxse I think it might only come into play with war deployments

yogthos02:12:28

I haven't looked at it what it does specifically in a bit, just recall it had to do with reading resources with jboss

yogthos02:12:03

@mlev the problem there is that db depends on the config, so you have to start it first

yogthos02:12:23

@mlev if you start the app using lein run and connect to nREPL the config should already be started though

yogthos02:12:45

@mlev try doing (mount/start #'guestbook.config/env #'guestbook.db.core/*db*)

mlev14:12:35

@yogthos, a few people in the #beginners chat helped me yesterday as well. It turns out the issue was a bit more basic in my case: I needed to run lein repl :connect 127.0.0.1:7000 instead of lein repl :connect 7000. I really enjoying your book so far - Looking forward to getting through more of it!

yogthos14:12:09

glad to hear it! 🙂

curlyfry21:12:51

Hi, I'm using the luminus template with +jetty +postgres +re-frame

curlyfry22:12:53

When I follow the instructions on starting a figwheel cljs repl from nREPL: "Alternatively. the compiler can be started from a regular REPL using the start-fw function and stopped using the stop-fw function. The ClojureScript REPL is started by running the cljs function after start-fw has run successfully. These functions will be available in the user namespace. The REPL will default to it when it starts:" I get: Exception Failed to launch Figwheel CLJS REPL: nREPL connection found but unable to load piggieback. Please install figwheel-sidecar.repl/eval23919/fn--23920 (repl.clj:175)

curlyfry22:12:09

It seems to be configured ok in project.clj, so I'm pretty stumped

curlyfry22:12:45

Anyone encounter the same issue?

curlyfry22:12:07

I settled for running lein figwheel and connecting to it in a separate REPL, which seems to work well (slightly better even, as I can run a clj and cljs repls simultaneously in two different tabs in cursive)

curlyfry22:12:41

Hmm, now I'm running into a different REPL issue

curlyfry22:12:55

It seems the dev_middleware file adds wrap-reload. It seems to work, and the application is restarted properly

curlyfry22:12:35

However, after the first time an automatic reload is triggered, I am unable to use the (start), (stop) and (restart) functions

curlyfry23:12:43

This is what I get:

curlyfry23:12:42

And next time I try to stop again I get (stop) NullPointerException clojure.lang.Reflector.invokeNoArgInstanceMember (Reflector.java:301)