@jasongilman: I am still having some difficulties getting the refresh to behave the same for boot as it does for leiningen. I believe the refresh is running https://github.com/jasongilman/proto-repl/blob/master/lib/proto-repl.coffee#L450 ?
That's right. What kind of behavior are you seeing?
It does not seem to reload the files associated with the loaded namespaces.
If I change a file, for example the user.clj as described in the demo.md and refersh the "Starting" message does not appear until I reload the file 'ctrl-, f'
This is related to the issue#5 that you posted a while back.
btw, While looking into this I found a couple of other small issues for which there is a pending pull request.
Is there an easy way to reproduce this so I can give it a try?
Thanks for the pull request. I'll take a look at that later.
The sample is actually missing a bit.
(defn start [] #_(println "Starting"))
I'm taking a look now.
There is a pull request on proto-repl-demo as well with some minor edits.
That's merged in now
It looks like there's some kind of known issue related to this https://github.com/boot-clj/boot/wiki/Repl-reloading
That's weird. I don't have to do that kind of thing with leiningen
clojure.tools.namespace scans the classpath by default
I wonder if something isn't setup the same way
(System/getProperty "java.class.path") => "/Users/jason/work/bin/boot" for me
With leiningen it returns much more including the src and dev dirs and the libraries that are available
@phreed: I've pushed changes to both Proto REPL and proto-repl-demo now. Can you give it a try and see if that resolves your issues?
If everything looks good I'll do a new release of Proto REPL.
I think the problem is that the classpath in the boot repl is not fully populated. (println (seq (.getURLs (java.lang.ClassLoader/getSystemClassLoader)))) or (use 'clojure.pprint) (-> (java.lang.ClassLoader/getSystemClassLoader) .getURLs seq pprint)