Sha256: 8df0cd60010b5b76d66afce0280a73d395e985141f8fd424722b1ba3bbec51ae
Contents?: true
Size: 608 Bytes
Versions: 2
Compression:
Stored size: 608 Bytes
Contents
# This is necessary for the terminal to work correctly when we reopen stdin. Process.setsid require "spring/application" app = Spring::Application.new( UNIXSocket.for_fd(3), Spring::JSON.load(ENV.delete("SPRING_ORIGINAL_ENV").dup), Spring::Env.new(log_file: IO.for_fd(4)) ) Signal.trap("TERM") { app.terminate } Spring::ProcessTitleUpdater.run do |distance| attributes = [ app.app_name, "started #{distance} ago", "#{app.app_env} mode", app.spawn_env, ].compact "spring app | #{attributes.join(" | ")}" end app.eager_preload if ENV.delete("SPRING_PRELOAD") == "1" app.run
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spring-4.2.1 | lib/spring/application/boot.rb |
spring-4.2.0 | lib/spring/application/boot.rb |