coffeescript_options = {
input: 'scripts/coffee',
output: 'scripts/',
patterns: [%r{^scripts/(.+\.(?:coffee|coffee\.md|litcoffee))$}]
}
guard 'coffeescript', coffeescript_options do
coffeescript_options[:patterns].each { |pattern| watch(pattern) }
end