Hello,

I've written a small hack for the ClojureScript compiler that is useful for
working with static HTML projects. When invoked with the :watch option, the
cljsc program watches a source directory and recompiles sources whenever a
change is detected.

https://github.com/harto/clojurescript/commit/f5bb720523f7121ab5fc8add014fd64846dc8e19

Usage: cljsc src '{:watch true}' >foo.js

The change depends on the jpathwatch library, which should be downloaded (
http://sourceforge.net/projects/jpathwatch/files/jpathwatch-0-94.zip/download)
into the clojurescript/lib directory.

Regards,
Stuart

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

Reply via email to