Setup for learning HAML

Published on Dec 19, 2012

Install the gems haml , guard-haml , guard-livereload and LiveReload chrome extension

Create a Guard file that will compile the haml files you create and reload html files in chrome :

guard 'haml', :run_at_start => true do
  watch(%r{^.+(\.haml)$})
end

guard 'livereload' do
  watch(%r{^.+(\.html)$})
end

Edit index.haml while watching index.html reloaded live in the browser.