Skip to content

Commit

Permalink
Manually patch guard#479
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrudel committed Apr 7, 2021
1 parent 0407c92 commit 513f801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/listen/adapter/darwin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Adapter
# Adapter implementation for Mac OS X `FSEvents`.
#
class Darwin < Base
OS_REGEXP = /darwin(1.+)?$/i
OS_REGEXP = /darwin(?<major_version>(1|2)\d+)/i

# The default delay between checking for changes.
DEFAULTS = { latency: 0.1 }
Expand Down

0 comments on commit 513f801

Please sign in to comment.