Re: Source code reloading with leiningen checkouts

2014-02-28 Thread Sven Richter
Ok, finally i found it myself after days of days of digging :D In core.clj there is this code: (http-kit/run-server (if (dev? args) (reload/wrap-reload app) app) Simply change it to this one: (http-kit/run-server (if (dev? args) (reload/wrap-reload app {:dirs ["src" "checkouts/subproject

Re: Source code reloading with leiningen checkouts

2014-02-28 Thread Sven Richter
So I just booted up my ubuntu to check if the same happens here too. And see, it does. What I did was: 1. run "lein install" for subproject 2. create checkouts folder in main project 3. do an "ln -s ../../subproject" Then I fired up my server to see if hot code reloading works, but still it won

Re: Source code reloading with leiningen checkouts

2014-02-26 Thread Sven Richter
Hi, I tried it with a junction already and tried it now once more with the tool you provided as a link. It still does not work. This are the project.clj of the two projects: (defproject lweb "0.1.0-SNAPSHOT" :repl-options {:init-ns lweb.repl} :dependencies [[ring-server "0.3.1"] depe

Re: Source code reloading with leiningen checkouts

2014-02-26 Thread Shantanu Kumar
On Wednesday, 26 February 2014 14:58:06 UTC+5:30, Niels van Klaveren wrote: > > Windows (7) has different versions of linking. For checkouts to work on > Windows 7 you need to have a *junction* to the directory, not a symbolic > link. > I make mine with Link Shell Extension for Windows > Explo

Re: Source code reloading with leiningen checkouts

2014-02-26 Thread Niels van Klaveren
Windows (7) has different versions of linking. For checkouts to work on Windows 7 you need to have a *junction* to the directory, not a symbolic link. I make mine with Link Shell Extension for Windows Explorer, and have no probl