Sha256: c0c6f71b24b9cfe0ecc54bc03727e742f42c6ea4a55a2a785727710db86072e7

Contents?: true

Size: 193 Bytes

Versions: 3

Compression:

Stored size: 193 Bytes

Contents

module EmberCLI
  module RackServer
    def start
      EmberCLI.start! if defined?(Rails.application) && app == Rails.application
      super
    ensure
      EmberCLI.stop!
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ember-cli-rails-0.0.3 lib/ember-cli/rack_server.rb
ember-cli-rails-0.0.2 lib/ember-cli/rack_server.rb
ember-cli-rails-0.0.1 lib/ember-cli/rack_server.rb