Skip to content

Krell REPL type? #2841

Closed
Closed
@dotemacs

Description

@dotemacs

Is your feature request related to a problem? Please describe.

Krell https://github.com/vouch-opensource/krell has it's own REPL that needs to have dependencies loaded as per:
https://github.com/vouch-opensource/krell/wiki/nREPL-Piggieback-Cider

To use it, you can do the following:

(setq cider-custom-cljs-repl-init-form
      "(require '[clojure.java.io :as io]
         '[clojure.edn :as edn]
         '[cider.piggieback]
         '[krell.api :as krell]
         '[krell.repl])
(def config (edn/read-string (slurp (io/file \"build.edn\"))))
(krell/build config)
(apply cider.piggieback/cljs-repl (krell.repl/repl-env) (mapcat identity config))")

M-x cider-jack-in-cljs
When prompted for the REPL type provide custom.
Then once the connection to iPhone/Android simulator is established, the REPL starts to work.

Describe the solution you'd like

This is not a feature request, but rather a discussion.

Should there be a cider-cljs-repl-type of krell, so that the users can specify it and the above dependencies loaded in for them, much like it's done for figwheel, node, shadow...

What your thoughts/feels about this? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions