From d665d6e3f02f2448f4b1491917d9f7555038c7d2 Mon Sep 17 00:00:00 2001 From: Theo Bittencourt Date: Mon, 13 May 2013 13:43:23 -0300 Subject: [PATCH] don't skip processing when response's status code isn't 200 --- lib/rack/livereload/processing_skip_analyzer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rack/livereload/processing_skip_analyzer.rb b/lib/rack/livereload/processing_skip_analyzer.rb index f9eb0a1..8c8f3b7 100644 --- a/lib/rack/livereload/processing_skip_analyzer.rb +++ b/lib/rack/livereload/processing_skip_analyzer.rb @@ -36,7 +36,7 @@ module Rack end def html? - @headers['Content-Type'] =~ %r{text/html} and @status == 200 + @headers['Content-Type'] =~ %r{text/html} end end end -- 2.45.2