guard / guard-spork

Guard::Spork automatically manage Spork DRb servers
https://rubygems.org/gems/guard-spork
MIT License
296 stars 58 forks source link

Watching for one of the spork instances #49

Closed Mange closed 12 years ago

Mange commented 12 years ago

It would be awesome if guard-spork could support some way of restarting only the sporks that apply to a change. I propose the following syntax (if it's possible with Guard; I haven't checked):

watch('config/routes.rb')
watch(%r{^spec/support/}) { :rspec }
watch(%r{^features/support/}) { :cucumber }
thibaudgg commented 12 years ago

Sounds good, feel free to submit a pull request.

Mange commented 12 years ago

Pull request #50 is implementing this.