luminus-framework / luminus-framework/luminus

Trouble connecting CIDER to the repl

Open
#104 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
626
Forks
122
PR merge metrics
No merged PRs in 30d

Description

Im using luminus with +cljs and it is my understanding that this gives me two repls, one from lein figwheel wich gives my ClojureScript and one from lein run for Clojure.

For Clojure the documentation is found here:
http://www.luminusweb.net/docs/repl.md

For CLJS it is found here:
On yogthos.net blog.

However Im not able to use this documentation and get it working with my CIDER Emacs configuration.
The steps i do is:

  1. C-c M-c
  2. select localhost
  3. select one of two running .lein:45128 (how can i connect the names here to the correct repl, for example figwheel vs clj repl?)

The error im getting is:
nREPL: Direct connection failed

I have included the nrepl-cider plugin under dev plugins.

Is there any documentation on using luimus with cider repl that im missing or can the existing documentation be updated to help me get this working?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Luminus REPL documentation at luminusweb.net/docs/repl.md and the referenced ClojureScript documentation on yogthos.net, then reproduce the lein figwheel, lein run, and CIDER connection steps described here. Done means the documentation explains how to distinguish and connect to both REPLs, including the nREPL: Direct connection failed case.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, emacs
Domain
developer-experience, devtools, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.