Sha256: c4dd76c4b307c6e85175fb6d9b519abf144309f8212d0058b24a7e0299a501e8

Contents?: true

Size: 456 Bytes

Versions: 90

Compression:

Stored size: 456 Bytes

Contents

Spork.each_run do
  ::ActiveSupport.const_defined?(:Dependencies) ?
    ::ActiveSupport::Dependencies.mechanism = :load :
    ::Dependencies.mechanism = :load

  require 'action_controller/dispatcher'
  dispatcher = ::ActionController::Dispatcher.new($stdout)

  if ::ActionController::Dispatcher.respond_to?(:reload_application)
    ::ActionController::Dispatcher.reload_application
  else
    dispatcher.reload_application
  end
end if Spork.using_spork?

Version data entries

90 entries across 90 versions & 8 rubygems

Version Path
invo-sporknife-0.1.0.pre lib/spork/ext/rails-reloader.rb
spork-0.9.0.rc2 lib/spork/ext/rails-reloader.rb
spork-0.9.0.rc lib/spork/ext/rails-reloader.rb
wakiki-spork-0.8.5 lib/spork/ext/rails-reloader.rb
spork-0.8.4 lib/spork/ext/rails-reloader.rb
spork-0.8.3 lib/spork/ext/rails-reloader.rb
spork-0.8.2 lib/spork/ext/rails-reloader.rb
spork-0.8.1 lib/spork/ext/rails-reloader.rb
spork-0.8.0 lib/spork/ext/rails-reloader.rb
spork-0.7.8 lib/spork/ext/rails-reloader.rb