I am fairly new to using cider. Initially I put all my code into my core.clj file that lein created for me. But now I am splitting my file up into multiple clj files and using things like:
(ns myprog.core (:use [myprog.milk :as milkx :only []]) (:use [myprog.cheese.brie :as briex :only [brielist]]) (:use [myprog.cheese.cheddar :as chedderx :only [chedderlist]]) (:gen-class)) to pull in definitions from other clj files into my core.clj. This seems to be working well enough, except that, doing "C-c C-k" (ie cider-load-current-buffer) no longer always loads everything. It seems to auto load all the other clj files the first time. But when I make changes in these other files (which I save), these are not seen after doing a "C-c C-k" in core.clj. It seems that I need to explicitly go to each buffer with a modification in it and do "C-c C-k" in each one. Then I can do "C-c C-k" in the main buffer and all the changes will be seen. I can cope with this, but it would be nice to be able to give a command in the core.clj buffer which effectively does "load core.clj and recursively reload any dependency buffers/files". (Even better would be if it only reloaded those files/buffers which had changed since the last load.) What do other people generally do here? I suspect there is a commandline way of getting lein to do this for me. Is that what people do? Or do people just make sure they do "C-c C-k" in each relevant buffer? (But isn't this error prone - ie if you forget to do this in some buffer that you've changed?) Thanks, Mark. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.