Skip to content

Instantly share code, notes, and snippets.

View chrishough's full-sized avatar
😸
How can I help you?

Chris Hough chrishough

😸
How can I help you?
View GitHub Profile

Keybase proof

I hereby claim:

  • I am chrishough on github.
  • I am chrishough (https://keybase.io/chrishough) on keybase.
  • I have a public key ASC-8R7asEgf1NESci99gnaBQnkJRd3oq-z2goTJGK5DpQo

To claim this, I am signing this object:

@chrishough
chrishough / Guardfile
Created March 10, 2020 00:23
Example Guardfile for Ruby on Rails Applications with the front end inside of Rails
clearing :on
directories %w(app lib config spec) \
.select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
group :cops do
guard 'rake', task: 'myapp:test:rubocop' do
watch(%r{(app|lib|spec)/(.+)\.(rb|rake)$})
watch(%r{config/(application|routes).rb})
end