aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/development.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index b14ce60fa..24a4ed6b8 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -94,5 +94,5 @@ Rails.application.configure do
config.i18n.available_locales = [:fr, :en]
- config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload)
+ config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload) if ENV['LIVERELOAD']
end