method

start

v6.0.0 - Show latest stable - Class: Rails::Server
start(after_stop_callback = nil)
public

No documentation available.

# File railties/lib/rails/commands/server/server_command.rb, line 33
    def start(after_stop_callback = nil)
      trap(:INT) { exit }
      create_tmp_directories
      setup_dev_caching
      log_to_stdout if options[:log_stdout]

      super()
    ensure
      after_stop_callback.call if after_stop_callback
    end