Skip to content

Commit

Permalink
Merge pull request #469 from nilbus/mutagen
Browse files Browse the repository at this point in the history
Ignore mutagen sync temporary files
  • Loading branch information
rymai committed Oct 31, 2019
2 parents 896c74c + bae2631 commit e844336
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/listen/silencer.rb
Expand Up @@ -46,6 +46,9 @@ class Silencer
)
)
# Mutagen sync temporary files
| \.mutagen-temporary.*
# other files
| \.DS_Store
| \.tmp
Expand Down
6 changes: 6 additions & 0 deletions spec/lib/listen/silencer_spec.rb
Expand Up @@ -35,6 +35,12 @@
# sed temp files
ignored += %w(sedq7eVAR sed86w1kB)

# mutagen temp files
ignored += %w(
.mutagen-temporary-cross-device-rename0
.mutagen-temporary-unicode-test-éntry0
)

ignored.each do |path|
it { should_not accept(:file, path) }
end
Expand Down

0 comments on commit e844336

Please sign in to comment.