GitHub: Discord (official chat):
dpsutton 2021-03-31T15:39:21.004200Z

shadow runs a helpful little socket repl. you can easily use that with the following:

(defun personal/shadow-repl ()
  (let* ((proj-dir (clojure-project-dir))
         (shadow-file (expand-file-name "socket-repl.port"
                                         (concat (file-name-as-directory proj-dir) ".shadow-cljs"))))
         (shadow-port (when (file-exists-p shadow-file)
                          (insert-file-contents shadow-file)
                          (buffer-substring-no-properties (point-min) (point-max))))))
    (if shadow-port
        (let ((inf-clojure-custom-repl-type 'cljs))
          (inf-clojure-connect "localhost" shadow-port))
      (message "No shadow socket repl info found"))))
and then (shadow/node-repl) and off you go. there's a function (help) in the namespace you're in with some helpful goodies