Don't balloon @original_options with --restart on restart.
Our restart_command would pass in `--restart` which means that if the @original_options already contains --restart it would keep getting another --restart appended. Nothing here that would break the bank, but just a nicety.
This commit is contained in:
parent
161ed37d71
commit
1d97b8f9e4
@ -136,7 +136,7 @@ class ServerCommand < Base # :nodoc:
|
||||
def initialize(args, local_options, *)
|
||||
super
|
||||
|
||||
@original_options = local_options
|
||||
@original_options = local_options - %w( --restart )
|
||||
deprecate_positional_rack_server_and_rewrite_to_option(@original_options)
|
||||
@log_stdout = options[:daemon].blank? && (options[:environment] || Rails.env) == "development"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user