class Middleman::SourceWatcher

def update_path(directory)

def update_path(directory)
  @directory = Pathname(File.expand_path(directory, app.root))
  without_listener_running do
    update([], @files.values.map { |source_file| source_file[:full_path] })
  end
  poll_once!
end