> As you observe, `racket` doesn't track changes to files, and `require`
> doesn't re-load a module that it has previously loaded (even if the
> module's source changed).
>
> You might want to try a tool like `xrepl`, which supports re-loading
> changed modules:
>
>   http://docs.racket-lang.org/xrepl/index.html

Along those lines, from the prompt and messages, it looks like you're
using Racket with Geiser in Emacs?

If you want to use `load` and dynamically re-require things, it might
be simpler to use plain command-line Racket, and, as Matthew
suggested, with xrepl and its dynamic re-require command.

(This is nothing against Geiser. I'd suggest the same if you were
using racket-mode, or Dr Racket. And I suggest it not because I know
Geiser definitely won't work in this case. Instead, it's just my
intuition that it might help to minimize the number of moving parts --
especially if you're trying to use Racket in an atypical way (with
`load` instead of `require`). If/as/when things work as you want with
plain command-line Racket, you could try adding Geiser or whatever
back to the picture. Again, this is only my intuition.)

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAGspUn3BGBUeLB26GEe64esr8xRYbB%2BDs0z4z3XTz0n15O9zbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to