Guard is a cool ruby library for automatically performing tasks every time a file changes. But if you’re not sure what to expect, it can be hard to set up. Here’s the quickest possible setup for Guard.
In this case, I’m making a quick website prototype in haml. I want to make sure that, whenever I modify one of my
haml files, ruby immediately produces the equivalent
html file for me in the same directory.