Fork me on GitHub
#protorepl
<
2017-01-04
>
jasongilman00:01:59

@seancorfield: I don't think it would be that hard to add an option to start a REPL with custom command. There's a way to connect to a remote repl. It pops up a window to type in the port. I could see adding this new feature and it pops up a window to type in the boot command to run. Would that work?

seancorfield00:01:46

pre-populated with the default command, so a user could edit it — yes

jasongilman00:01:30

What would you expect to see as the default command?

seancorfield00:01:30

Whatever Boot (or Lein) command it would normally run to start a REPL...

jasongilman00:01:19

--no-colors dev repl --server wait

seancorfield00:01:26

e.g., I’d normally see boot --no-colors cider repl --server wait for that and I’d want to edit cider to select a different Boot task / context

jasongilman00:01:16

Could you file an issue?

seancorfield00:01:08

Sure. Wanted to check you were open to the idea first.

jasongilman00:01:10

Yup it seems like a good feature.

jtmarmon01:01:23

@seancorfield >@jtmarmon My other question remains unanswered: How exactly are you connection ProtoREPL to your existing running session? "Proto Repl: Remote Nrepl Connection" use the host and port filled in by default thanks to .lein-env

seancorfield01:01:38

Hmm, in that case you should have the exact same environment as your running process...

seancorfield01:01:16

When I connect into one of my already running instances, everything is available exactly as in the REPL itself.

seancorfield03:01:09

https://github.com/jasongilman/proto-repl/issues/216 — start nREPL with edit of command line first

seancorfield03:01:36

(sorry that took a while, we lost Internet for a an hour or two)

zmaril20:01:23

Is there a way of getting the stacktrace for the last error?

zmaril20:01:50

*e will help, found it

carocad22:01:46

@zmaril the general way is (clojure.repl/pst) since it pretty prints it 😉

zmaril22:01:37

Ah nice thanks