Sha256: 4137be7c8b69af8efb22646d9685e9381bba9661ed787199a3fe1d48340c6475
Contents?: true
Size: 578 Bytes
Versions: 13
Compression:
Stored size: 578 Bytes
Contents
require 'celluloid' require 'listen/listener' module Listen # Listens to file system modifications on a either single directory or multiple directories. # # @param (see Listen::Listener#new) # # @yield [modified, added, removed] the changed files # @yieldparam [Array<String>] modified the list of modified files # @yieldparam [Array<String>] added the list of added files # @yieldparam [Array<String>] removed the list of removed files # # @return [Listen::Listener] the listener # def self.to(*args, &block) Listener.new(*args, &block) end end
Version data entries
13 entries across 13 versions & 1 rubygems