Module Listen
In: lib/listen/directory_record.rb
lib/listen/adapters/darwin.rb
lib/listen/adapters/bsd.rb
lib/listen/adapters/linux.rb
lib/listen/adapters/polling.rb
lib/listen/adapters/windows.rb
lib/listen/adapter.rb
lib/listen/version.rb
lib/listen/multi_listener.rb
lib/listen/turnstile.rb
lib/listen/listener.rb
lib/listen.rb

Methods

_init_listener   to   to!  

Classes and Modules

Module Listen::Adapters
Class Listen::Adapter
Class Listen::DirectoryRecord
Class Listen::Listener
Class Listen::MultiListener
Class Listen::Turnstile

Constants

VERSION = '1.0.2'

Public Class methods

Listens to file system modifications on a either single directory or multiple directories. When calling this method, the current thread is not blocked.

@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 file listener if no block given

Listens to file system modifications on a either single directory or multiple directories. When calling this method, the current thread is blocked.

@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

@since 1.0.0

[Validate]