Methods

Listen::Adapter::Windows

Adapter implementation for Windows `wdm`.

Constants

BUNDLER_DECLARE_GEM

The message to show when wdm gem isn't available

Public Class Methods

usable?() click to toggle source
# File lib/listen/adapter/windows.rb, line 16
def self.usable?
  if RbConfig::CONFIG['target_os'] =~ /mswin|mingw|cygwin/
    require 'wdm'
    true
  end
rescue Gem::LoadError
  Kernel.warn BUNDLER_DECLARE_GEM
end

Public Instance Methods

start() click to toggle source
# File lib/listen/adapter/windows.rb, line 25
def start
  worker = _init_worker
  worker.run!
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.