Class Listen::Adapters::Linux
In: lib/listen/adapters/linux.rb
Parent: Adapter

Listener implementation for Linux `inotify`.

Methods

Constants

EVENTS = [:recursive, :attrib, :create, :delete, :move, :close_write]   Watched inotify events

@see www.tin.org/bin/man.cgi?section=7&topic=inotify @see github.com/nex3/rb-inotify/blob/master/lib/rb-inotify/notifier.rb#L99-L177

INOTIFY_LIMIT_MESSAGE = <<-EOS.gsub(/^\s*/, '') Listen error: unable to monitor directories for changes. Please head to https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers for information on how to solve this issue. EOS .gsub(/^\s*/, '')   The message to show when the limit of inotify watchers is not enough

Public Class methods

Initializes the Adapter.

@see Listen::Adapter#initialize

[Validate]