I\'m pleased that I reached a programming milestone. Now whenever I save my main Bike outline (overall.bike
), my CLI for interacting with Bike (and Bike outlines) is fired off (specifically, bike.py pandoc)
. I use Hammerspoon to look for changes in the enclosing directory for overall.bike
and then I have some logic to check for telltale changes in overall.bike
. I was stuck for a while: It turns out that the tricky part is detecting reliably whether there is data on stdin. My solution is good enough for now, but I will probably revisit it.