Re: reload file in lein

2013-01-28 Thread AtKaaZ
maybe he needs to :reload-all for each use in foo.care? ie. (ns foo.core (:use [runtime.q :as q] :reload-all) (:use [datomic.api :only (q db) :as d]) (:use [runtime.util :as u] :reload-all) ) so that it will also reload whatever foo.core is using, in this example it's only going to reload run

Re: reload file in lein

2013-01-28 Thread Chris F Carroll
Does just loading the file again not work: repl>(load-file src/foo/core.clj) On Monday, 15 August 2011 01:20:14 UTC+1, Jay Vyas wrote: > > hi guys, Im doing the following development "workflow" > > -> edit a script in vi > -> save > -> $> lein repl > -> repl>(load-file src/foo/core.clj) >

Re: reload file in lein

2011-08-14 Thread Dave Ray
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 wrote: > hi guys, Im doing the following development "workflow" > > -> edit a script in vi

reload file in lein

2011-08-14 Thread Jay Vyas
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 receive