Skip to content

Instantly share code, notes, and snippets.

@nicokruger
Created February 23, 2012 07:45
Show Gist options
  • Save nicokruger/1891367 to your computer and use it in GitHub Desktop.
Save nicokruger/1891367 to your computer and use it in GitHub Desktop.
Guardfile for auto test running
guard 'shell' do
watch(%r"tests/.*test\..*") {|m|
`node bgtests.js`
}
watch(%r"js/.*js") {|m|
`node bgtests.js`
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment