Description
When a devproxyrc.json file in the project has the DevToolsPlugin enabled, running Dev Proxy CLI commands (e.g., devproxy jwt create) causes the DevToolsPlugin to be invoked, which opens a browser and navigates to the dev tools URL.
Expected behavior
CLI commands like devproxy jwt create should execute without triggering plugins. These commands don't require the proxy to be running and shouldn't invoke plugin lifecycle events.
Actual behavior
The DevToolsPlugin is invoked when executing CLI commands, causing an unwanted browser window to open and navigate to the dev tools URL.
Steps to reproduce
- Create a
devproxyrc.json with the DevToolsPlugin enabled
- Run a CLI command like
devproxy jwt create
- Observe that a browser window opens navigating to the dev tools URL
Additional context
This is not a crash or error, but an annoying behavior that disrupts the developer workflow when using CLI commands.
Description
When a
devproxyrc.jsonfile in the project has theDevToolsPluginenabled, running Dev Proxy CLI commands (e.g.,devproxy jwt create) causes the DevToolsPlugin to be invoked, which opens a browser and navigates to the dev tools URL.Expected behavior
CLI commands like
devproxy jwt createshould execute without triggering plugins. These commands don't require the proxy to be running and shouldn't invoke plugin lifecycle events.Actual behavior
The DevToolsPlugin is invoked when executing CLI commands, causing an unwanted browser window to open and navigate to the dev tools URL.
Steps to reproduce
devproxyrc.jsonwith theDevToolsPluginenableddevproxy jwt createAdditional context
This is not a crash or error, but an annoying behavior that disrupts the developer workflow when using CLI commands.