New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No `.nrepl-port` created with `lein trampoline repl` #2224

jeaye opened this Issue Dec 6, 2016 · 2 comments


None yet
3 participants
Copy link

jeaye commented Dec 6, 2016


I've found that lein repl creates the .nrepl-port file, while lein trampoline repl does not. Both are creating the nREPL, it seems, but the latter version neither announces the port nor creates the associated file. Is this intentional? It's crippling vim-fireplace, since the port information is not readily available.



This comment has been minimized.

Copy link

robbieh commented Dec 28, 2016

I see the same behavior. I also noticed that trampline repl starts REPL-y 0.3.5 while repl starts REPL-y 0.3.7.


This comment has been minimized.

Copy link

technomancy commented Mar 23, 2017

Leiningen uses nREPL during normal repl operation because it has to communicate between Leiningen's own process (which is connected to stdin) and the project process. When trampolining, Leiningen's own process has exited, so it skips the client/server setup entirely as it is unnecessary.

If you explicitly want to start a server, you should be able to use lein trampoline repl :headless.

I will improve the docstring to make this clearer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment