Hi,

## context:

  I am currently running "lein cljsbuild auto"

  It appears that each new compile _overwrites_ the old compile in place, say

  resources/out


## what I would prefer to happen:

  every time a new build is triggered, have it

    write to resources/tmp
    then, exec "rm -rf resources/out; mv resources/tmp resources/out"


## why I want this behaviour

  I'm also using live.js . It appears, that with longer compile times,
live.js is pulling in _half completed_ builds from lein -- and giving
me very weird errors.

  Thus, I would like lein to build somewhere else, then after a build
is complete, in a single atomic operation, swap the two directories
(which I can do via symlinks).

  Where can I setup a clojure/shell command to be executed every time
"lein cljsbuild auto" successfully completes a build?


Thanks!

-- 
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.

Reply via email to