Created
January 17, 2012 17:14
-
-
Save moretea/1627560 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Precompile < ::Guard::Guard | |
| def run_on_change(path) | |
| puts "Precompiling assets for test env ...." | |
| puts `bundle exec rake assets:precompile RAILS_ENV=test` | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment