Sha256: 566f78b2bc9ed8cfc2eb22229d286785c4b1ec679313261b3e085874155b71e5
Contents?: true
Size: 794 Bytes
Versions: 39
Compression:
Stored size: 794 Bytes
Contents
require_relative 'app_loader' # if Isomorfeus.development? # require 'ruby-debug-ide' # Debugger.start_server # end Isomorfeus.init_store if !Isomorfeus.development? Isomorfeus.zeitwerk.setup Isomorfeus.zeitwerk.eager_load run <%= roda_app_class %>.freeze.app else Isomorfeus.zeitwerk.enable_reloading Isomorfeus.zeitwerk.setup Isomorfeus.zeitwerk.eager_load run ->(env) do if Isomorfeus.server_requires_reload? write_lock = Isomorfeus.zeitwerk_lock.try_write_lock if write_lock Isomorfeus.server_reloaded! Isomorfeus.zeitwerk.reload Isomorfeus.zeitwerk_lock.release_write_lock end end Isomorfeus.zeitwerk_lock.with_read_lock do <%= roda_app_class %>.call env end end end
Version data entries
39 entries across 39 versions & 1 rubygems