Skip to content

Commit

Permalink
Merge pull request #302 from literatesnow/listen-on-fix
Browse files Browse the repository at this point in the history
Listen on fix
  • Loading branch information
e2 committed Mar 30, 2015
2 parents ff0ba81 + 0437a45 commit cba1e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/listen/queue_optimizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def _smoosh_changes(changes)
else
smooshed = { modified: [], added: [], removed: [] }
changes.each do |_, change, dir, rel_path, _|
smooshed[change] << (dir + rel_path).to_s
smooshed[change] << (dir + rel_path).to_s if smooshed.key?(change)
end
smooshed.tap { |s| s.each { |_, v| v.uniq! } }
end
Expand Down

0 comments on commit cba1e51

Please sign in to comment.