rubyist / guard-rake

guard-rake runs a rake task when files change
MIT License
94 stars 32 forks source link

Catch exceptions during rake tasks so guard doesn't disable guard-rake. #28

Closed gaffneyc closed 11 years ago

gaffneyc commented 11 years ago

If a rake task failed or raised an exception then Guard would automatically disable guard-rake meaning that changes for rake tasks would no longer be fired. Rather than raise the exception we throw :task_has_failed to match the guard api and log the error.

Based on joergschiller's fork of guard-rake.