class Middleman::Renderers::Less

Sass renderer

def after_configuration

def after_configuration
  app.files.by_type(:source).watchers.each do |source|
    ::Less.paths << (source.directory + app.config[:css_dir]).to_s
  end
end

def initialize(app, options={}, &block)

def initialize(app, options={}, &block)
  super
  # Default less options
  app.config.define_setting :less, {}, 'LESS compiler options'
  # Tell Tilt to use it as well (for inline sass blocks)
  ::Tilt.register 'less', LocalLoadingLessTemplate
  ::Tilt.prefer(LocalLoadingLessTemplate)
end