Skip to content

Commit

Permalink
Update priority order of file events
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexB52 committed Jan 9, 2025
1 parent 122d9f3 commit 1fb01a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exe/retest
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Retest.listen(options, listener: watcher) do |modified, added, removed|
repository.sync(added: added, removed: removed)
runner.sync(added: added, removed: removed)

listen_wr.puts "file changed: #{(modified + added).first}"
listen_wr.puts "file changed: #{(added + modified).first}"
rescue => e
puts "Something went wrong: #{e.message}"
end
Expand Down

0 comments on commit 1fb01a9

Please sign in to comment.