code: function pollInterstitialPage() {
              if (keepPolling && Inspector.connected()) {
                  Inspector.Runtime.evaluate("window.isBracketsLiveDevelopmentInterstitialPageLoaded", function (response) {
                      var result = response.result;
  
                      if (result.type === "boolean" && result.value) {
                          window.clearTimeout(timer);
                          deferred.resolve();
                      } else {
                          window.setTimeout(pollInterstitialPage, 100);
                      }
                  });
              } else {
                  deferred.reject();
              }
          }
docs: 10 seconds /*
  Asynchronously check to see if the interstitial page has
  finished loading; if not, check again until timing out.