diff options
| -rw-r--r-- | background_scripts/bg_utils.coffee | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/background_scripts/bg_utils.coffee b/background_scripts/bg_utils.coffee index 0b6e4338..bff005ab 100644 --- a/background_scripts/bg_utils.coffee +++ b/background_scripts/bg_utils.coffee @@ -57,6 +57,8 @@ BgUtils =    log: do ->      loggingPageUrl = chrome.runtime.getURL "pages/logging.html"      console.log "Vimium logging URL:\n  #{loggingPageUrl}" if loggingPageUrl? # Do not output URL for tests. +    # For development, it's sometimes useful to automatically launch the logging page on reload. +    chrome.windows.create url: loggingPageUrl, focused: false if localStorage.autoLaunchLoggingPage      (message, sender = null) ->        for viewWindow in chrome.extension.getViews {type: "tab"}          if viewWindow.location.pathname == "/pages/logging.html" | 
