polling rate
domkm opened this issue · comments
cljx is a great way to write portable code and I was wondering if there is a way to speed up compiling. I noticed that the polling rate is set to 1000ms. Worst case, it takes a whole second just to notice that a file was changed.
What do you think of making the polling rate configurable or dropping it to something much lower, like 50ms?
I don't really have a good sense of what's reasonable here, though I agree that 1s is probably too long.
I dropped it to 250ms. I worry about going any further negatively impacting people with very large projects.
Available in [org.clojars.cemerick/cljx "0.6.0-SNAPSHOT"]
until the final 0.6.0 release is cut.