Class: Listen::Compat::Wrapper::Stale
- Defined in:
- lib/listen/compat/wrapper.rb
Overview
>= 2.7.7, <= 2.7.11
Constant Summary collapse
- NEXT_VERSION =
Gem::Version.new('2.7.12')
Instance Method Summary collapse
-
#_start_and_wait(*args, &block) ⇒ Object
Work around guard/listen#243 (>= v2.7.9, < v2.8.0).
Methods inherited from Common
Instance Method Details
#_start_and_wait(*args, &block) ⇒ Object
Work around guard/listen#243 (>= v2.7.9, < v2.8.0)
144 145 146 147 148 149 150 151 |
# File 'lib/listen/compat/wrapper.rb', line 144 def _start_and_wait(*args, &block) = args.pop if args.last.is_a?(Hash) listeners = args.map do |dir| _listen_module.to(dir, , &block) end listeners.map(&:start) sleep end |