Node Dev Tools auto focuses the window every time the app restarts
Reported by
uhupa...@gmail.com,
Nov 28 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce the problem: 1. Run a Node app with the --inspect flag 2. Monitor for any changes and automatically restart the server 3. *Chrome's dedicated dev tools for Node are getting focused* What is the expected behavior? The window shouldn't be focused when the app reloads. What went wrong? The problem is I am also using PM2 Node process manager to watch my files and auto-restart my Node process whenever there are changes, as I normally do in development, and every time I save a file the Node Dev Tools window takes focus. Did this work before? N/A Chrome version: 62.0.3202.94 Channel: stable OS Version: OS X 10.11.6 Flash Version: I am using Meteor (which is based on Node.js) Original question on SO: https://stackoverflow.com/questions/47185727/how-to-stop-chromes-node-dev-tools-from-focusing-the-window-every-time-the-app
,
Nov 30 2017
,
Feb 1 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c07c27e2fe2788eb465f47d71148dca7fec299fc commit c07c27e2fe2788eb465f47d71148dca7fec299fc Author: Eugene Ostroukhov <eostroukhov@chromium.org> Date: Thu Feb 01 02:13:20 2018 DevTools: do not activate DevTools on Node restart Bug: 789317 Change-Id: I4ef5f83dc37261b053bf698919aa93ad77375fad Reviewed-on: https://chromium-review.googlesource.com/861199 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Eugene Ostroukhov <eostroukhov@chromium.org> Cr-Commit-Position: refs/heads/master@{#533527} [modify] https://crrev.com/c07c27e2fe2788eb465f47d71148dca7fec299fc/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
,
Feb 1 2018
,
Feb 1 2018
Nice. Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by krajshree@chromium.org
, Nov 29 2017