Skip to content

Commit 85bbdb9

Browse files
committed
Teach CIDER about shadow-cljs's nrepl.port file
1 parent 01d728a commit 85bbdb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nrepl-client.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ PROJECT-DIR, HOST and PORT are as in `nrepl-make-buffer-name'."
279279
"Read port from .nrepl-port, nrepl-port or target/repl-port files in directory DIR."
280280
(or (nrepl--port-from-file (expand-file-name "repl-port" dir))
281281
(nrepl--port-from-file (expand-file-name ".nrepl-port" dir))
282-
(nrepl--port-from-file (expand-file-name "target/repl-port" dir))))
282+
(nrepl--port-from-file (expand-file-name "target/repl-port" dir))
283+
(nrepl--port-from-file (expand-file-name ".shadow-cljs/nrepl.port" dir))))
283284

284285
(defun nrepl--port-from-file (file)
285286
"Attempts to read port from a file named by FILE."

0 commit comments

Comments
 (0)