(defun cider-repl-command (cmd) "Execute commands on the cider repl"
(cider-switch-to-repl-buffer) (goto-char (point-max)) (insert cmd)
(cider-repl-return) (cider-switch-to-last-clojure-buffer)) (defun
cider-repl-reset () "Assumes reloaded + tools.namespace is used to reload
everything" (intera
Thanks for James Reeves’s great project:
https://github.com/weavejester/ns-tracker
--
tao.zhou2009
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, September 30, 2014 at 5:13 AM, suvash wrote:
> ns-tracker seems to be pretty neat too. Thanks for letting me know.
>
> On Mo
ns-tracker seems to be pretty neat too. Thanks for letting me know.
On Monday, September 29, 2014 3:57:20 AM UTC+2, Tao Zhou wrote:
>
> just use: https://github.com/weavejester/ns-tracker,
>
> (ns xxx.repl)
>
> (def modified-namespaces (ns-tracker ["src" "test"]))
>
> (defn reload []
> (doseq [n
just use: https://github.com/weavejester/ns-tracker,
(ns xxx.repl)
(def modified-namespaces (ns-tracker ["src" "test"]))
(defn reload []
(doseq [ns-sym (modified-namespaces)]
(require ns-sym :reload)))
and in project.clj
:repl-options {:init-ns xxx.repl}
when modified files, just (re
This seems cool, my approach isn't nearly as sophisticated and much more
editor dependent. I've using prelude, which include projectile, which
binds C-c p P to projectile-test-project.
There were a couple customizations I had to make to get it really
streamlined, though. The command shows up