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)
repl(use
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
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
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