Fork me on GitHub
#luminus
<
2022-08-12
>
Eugen15:08:34

hi, any idea on how I can Jack in a luminus project in Calva and have the same output as "lein run" ? I have setup this project https://github.com/ieugen/ctmx-calendar . using lein run starts a web servers on port 3000 and a repl port on port 7000 that I can connect to. lein run also provides logs. I tried calva jack in with profile/dev and project dev. repl starts and is connected but port 3000 does not run. Also I don't see the logs. Any idea what I am doing wrong ? I did read https://calva.io/luminus/ calva runs this:

lein update-in :dependencies conj '[nrepl,"0.9.0"]' -- update-in :plugins conj '[cider/cider-nrepl,"0.28.5"]' -- update-in '[:repl-options,:nrepl-middleware]' conj '["cider.nrepl/cider-middleware"]' -- with-profile +dev,+project/dev,+profiles/dev repl :headless

pez15:08:31

Iirc, you should have a custom command configured for starting the web server.

Eugen16:08:38

ok, the docs mention that (and the video - nice music voice effects 🙂 ) . but I don't have one. Is that something that comes with shadocljs template ? !

Eugen16:08:20

created the projet and saw that there is a .vscode/settings.json file there

Eugen16:08:58

thank you @U0ETXRFEW: I have ignored that file . I did not know about it. I solved. was my fault

pez16:08:32

That's a pretty old video. I think it might be a bit outdated. I should check.