From 7db7a69b55d88f681e14e49d4b774e75d7289776 Mon Sep 17 00:00:00 2001 From: Kai Vandivier <49666798+KaiVandivier@users.noreply.github.com> Date: Mon, 11 Dec 2023 18:09:55 +0100 Subject: [PATCH] fix: don't open browser for plugins on start [LIBS-503] (#821) --- cli/src/commands/start.js | 2 +- cli/src/lib/plugin/start.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cli/src/commands/start.js b/cli/src/commands/start.js index 6b89e3ed..f2255b53 100644 --- a/cli/src/commands/start.js +++ b/cli/src/commands/start.js @@ -136,7 +136,7 @@ const handler = async ({ if (config.entryPoints.plugin) { const pluginPort = await detectPort(newPort + 1) reporter.print( - `The plugin is now available on port ${pluginPort}` + `The plugin is now available on port ${pluginPort} at /${paths.pluginLaunchPath}` ) reporter.print('') diff --git a/cli/src/lib/plugin/start.js b/cli/src/lib/plugin/start.js index b94ea973..09d37826 100644 --- a/cli/src/lib/plugin/start.js +++ b/cli/src/lib/plugin/start.js @@ -21,8 +21,6 @@ module.exports = async ({ port, config, paths }) => { { port, host, - // open browser - open: [`/${paths.pluginLaunchPath}`], client: { logging: 'none', overlay: {