Fork me on GitHub
#protorepl
<
2017-02-21
>
tarmes16:02:56

Hi all. I’ve just discovered protorepl. I have it installed and for the most part it’s working well; I can evaluate general expressions and the real-time evaluation in my source files works. However, when I try to evaluate expressions (in the protorepl tab) which reference definitions in my source file, it can’t find them.

tarmes16:02:42

It states that it’s loaded the source file: :reloading (fwpd.core fwpd.core-test)

tarmes16:02:20

Am I forgetting something?

lostineverland17:02:17

@tarmes, I had not noticed the :reloading..., but that's the same behavior that I've been working with as well, that is, I need to load the context into the repl manually.

tarmes17:02:46

How do you do that?

lostineverland17:02:04

with proto-repl:execute-selected-text aka cmd-s

tarmes17:02:52

So you need to select all and evaluate first

tarmes17:02:59

That’s - unexpected

lostineverland17:02:10

but I should add, that I'm only a week into this myself ;^)

jasongilman19:02:29

@tarmes most of the time I work by evaluating blocks of code in a scratch file or namespace and sending to the REPL. I would recommend working that way for the best experience if working with code defined in a namespace.