DEV: restart watcher after css change notifier crashed (#8157)

DEV: restart watcher after css change notifier crashed (#8157)

diff --git a/lib/stylesheet/watcher.rb b/lib/stylesheet/watcher.rb
index 1fbe7f3..3ee968b 100644
--- a/lib/stylesheet/watcher.rb
+++ b/lib/stylesheet/watcher.rb
@@ -44,6 +44,7 @@ module Stylesheet
           end
         rescue => e
           STDERR.puts "CSS change notifier crashed #{e}"
+          start
         end
       end

GitHub sha: e23b9051

1 Like