module Eastwood
  class Engine < Rails::Engine

    initializer 'eastwood.setup' do |app|
      app.assets.context_class.instance_eval do
        include Eastwood::Context
      end
    end
  end
end

module Eastwood
  class Engine < Rails::Engine

    initializer 'eastwood.setup' do |app|
      # include helpers in the sprockets context
      app.assets.context_class.instance_eval do
        include Eastwood::Context
      end
      # watch for changes in eastwood initializer
      app.config.watchable_files << 'config/initializers/eastwood.rb'
    end
  end
end

Watch for changes in eastwood initializer
Watch for changes in eastwood initializer
