From 201ca9ac261f244cb6e708c57f36c3d84c955588 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 23 Nov 2016 14:06:20 +0100 Subject: [PATCH] =?UTF-8?q?Disable=20rack-livereload=E2=80=99s=20swf=20fal?= =?UTF-8?q?lback=20(development)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevents the flash of a flash when loading the page. --- config/environments/development.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 6f018e1c5..501ea94e4 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -35,6 +35,7 @@ Rails.application.configure do config.middleware.insert_after( ActionDispatch::Static, Rack::LiveReload, + no_swf: true, min_delay: 500, # default 1000 max_delay: 10_000, # default 60_000 live_reload_port: 35_738