lib/hanami/commands/server.rb in hanami-0.7.2 vs lib/hanami/commands/server.rb in hanami-0.7.3

- old
+ new

@@ -39,9 +39,10 @@ # @since 0.1.0 def middleware mw = Hash.new { |e, m| e[m] = [] } mw["deployment"].concat([::Rack::ContentLength, ::Rack::CommonLogger]) mw["development"].concat(mw["deployment"] + [::Rack::ShowExceptions, ::Rack::Lint]) + mw["development"].push(::Shotgun::Static) if code_reloading? mw end # Kickstart shotgun preloader if code reloading is supported #