Created
February 16, 2012 02:57
-
-
Save amarshall/1841253 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'guard/guard' | |
module ::Guard | |
class Ant < ::Guard::Guard | |
def start | |
run_on_change nil | |
end | |
def run_on_change(paths) | |
system %q{bash -ic "ant compile"} | |
end | |
end | |
end | |
guard 'ant' do | |
watch /.*\.java/ | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment