Module: VimMate::Plugin::INotifyDirectory::InstanceMethods

Defined in:
lib/vim_mate/plugins/inotify/lib/directory.rb

Instance Method Summary collapse

Instance Method Details

#initialize_with_inotify(*args) ⇒ Object



24
25
26
27
28
29
# File 'lib/vim_mate/plugins/inotify/lib/directory.rb', line 24

def initialize_with_inotify(*args)
  initialize_without_inotify(*args)
  if directory?
    self.class.inotify_watcher.watch_dir(full_path, Mask)
  end
end