This works for me:

repl> (use 'foo.core :reload)

or :reload-all if deps of the foo.core ns have changed. Also,
(load-file) shouldn't be necessary.

Cheers,

Dave

On Sun, Aug 14, 2011 at 8:20 PM, Jay Vyas <jayunit...@gmail.com> wrote:
> hi guys, Im doing the following development "workflow"
>
> -> edit a script in vi
> -> save
> -> $> lein repl
> ->     repl>(load-file src/foo/core.clj)
>         repl>(use `foo/core)
>
> I wanted to edit the file and reload it without reloading repl.  is that
> possible. ?
>
> --
> Jay Vyas
> MMSB/UCHC
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to