|
@@ -32,10 +32,12 @@ Rails.application.configure do
|
|
|
config.assets.debug = false
|
|
|
|
|
|
# Automatically inject JavaScript needed for LiveReload
|
|
|
- config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload,
|
|
|
- :min_delay => 500, # default 1000
|
|
|
- :max_delay => 10_000, # default 60_000
|
|
|
- :live_reload_port => 35738
|
|
|
+ config.middleware.insert_after(
|
|
|
+ ActionDispatch::Static,
|
|
|
+ Rack::LiveReload,
|
|
|
+ min_delay: 500, # default 1000
|
|
|
+ max_delay: 10_000, # default 60_000
|
|
|
+ live_reload_port: 35_738
|
|
|
)
|
|
|
|
|
|
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|