play-clj icon indicating copy to clipboard operation
play-clj copied to clipboard

-main does not work in repl

Open sound2gd opened this issue 8 years ago • 2 comments

leiningen version: 2.7.1 cider-nrepl: 0.15 jdk version: 8

I've created a project over lein new play-clj demo,and when using lein repl and switch to ns demo.core.desktop-launcher, nothing happens and returns nil.

sound2gd avatar Aug 24 '17 06:08 sound2gd

here is my leining profile:

{:user {:plugins [[cider/cider-nrepl "0.15.0-SNAPSHOT" ]]}}

if I remove cider-nrepl,then I can have my game running, I am a emacs user, nothing could be done with clojure if cider can not be used :(

please give me some advice

sound2gd avatar Aug 24 '17 06:08 sound2gd

Is there anything you need to do to make sure that namespace is AOT compiled? That's the only thing I can think of, as I am not a Cider user.

oakes avatar Aug 27 '17 17:08 oakes