From 1cf4e4a8a2b6c531c644fe33ddb91de06019f359 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 17 May 2016 09:47:04 +0200 Subject: [PATCH] :memo: Remember why we added backgroundThrottling --- src/browser/atom-window.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/browser/atom-window.coffee b/src/browser/atom-window.coffee index d70bda297..c2909f8c9 100644 --- a/src/browser/atom-window.coffee +++ b/src/browser/atom-window.coffee @@ -30,6 +30,10 @@ class AtomWindow # thus we should remove this as soon as a fix gets released. backgroundColor: "#fff" webPreferences: + # Prevent specs from throttling when the window is in the background: + # this should result in faster CI builds, and an improvement in the + # local development experience when running specs through the UI (which + # now won't pause when e.g. minimizing the window). backgroundThrottling: not @isSpec # Don't set icon on Windows so the exe's ico will be used as window and