rubyist / guard-rake

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

Fix multiple runs after multiple watcher invokations #44

Open leoc opened 6 years ago

leoc commented 6 years ago

See #43

Given a guard config like this:

guard 'rake', task: 'load', run_on_start: false do
  watch(%r{.+})
end

Before the behavior was:

The expected new behavior is:

Task is executed once, at every change.