u/metasoarousin r/Clojure • Recommends
…eruns starting from the first changed code-form in the file (ignoring whitespace). This simple strategy allows for a tight feedback loop, even with code which periodically takes a while to fetch or process data.
If you're interested in seeing a brief demonstration of this functionality, please take a look at the short screencast I put together:
[video
For the intrigued, this ended up being a rather interesting technical problem, as you can't evaluate `ns` forms in non-root threads (can't call `set!` on dynamic vars, such as `*ns*`, except in root threads apparently). However, I was able to get around this restriction and evaluate code in the context of a particular namespace from the wa…