You know what would be cool? If you could start an nrepl the same way a socket repl is started. JVM parameters. Then you would be able to: - Easily run in production, no matter the main - Jack-in on the CLJ tools wouldn't require 2 parameters for left & right of the command line. And it wouldn't interfere with any main options the user sets. Downside: - Requires writing & compiling java (but this is a large part of nrepl already)
I bet we can use the same technique as the socket repl does.
In theory it would allow you to also jack in with lein/boot. It would ignore any boot/lein settings, that might be a good thing though 😄
I opened an issue, I think this is worth discussing https://github.com/nrepl/nREPL/issues/54
Sure. I’ll comment there, as here the history tends to evaporate pretty quickly.
> - Requires writing & compiling java (but this is a large part of nrepl already)
I was a bit puzzled by this part, btw. nREPL uses Java a lot via interop, but it doesn’t really have any purely Java sources. 🙂 Just as an FYI; I’m not opposed to writing some good old Java for great good.
Oh really? I guess I'm misremembering.
Really. 🙂 There used to be some Java code back in the day, but it’s all gone now except for
https://github.com/nrepl/nREPL/blob/master/src/java/nrepl/main.java
(which I was planning to delete)
@dominicm Btw, does the manual generation work only with Node 8?
I’m on 10 and I get some weird errors during npm install
.
I think it does yeah.
OK, seems to install with 8.
Any idea what this error is:
> error: Specified start page for site not found: nrepl::index.adoc
Happens when I do ./antora site.yml
@bozhidar try adding master to the list of branches, or is it there already?
Yeah, that worked.
I wonder why master
doesn’t show in the drop down version though.
I’ve seen in the demos that both tags and branches should appear there, but maybe I just don’t understand it well enough so far.
At any rate - I managed to generate something. 🙂