From 0cf22329369ccdf41c25c8a40aa82b2ed95225c6 Mon Sep 17 00:00:00 2001 From: Brian_Crotty <5673408+Brian-Crotty@users.noreply.github.com> Date: Thu, 20 May 2021 02:56:54 -0500 Subject: [PATCH 1/2] Expand devOptions.open documentation ## Changes Adds a snippet to the description of the devOptions.open config that explains you can also use a path to specify which browser to open ## Testing No, this is a change to documentation ## Docs Add note that path is a valid input to devOptions.open Yes, noted in change. Better describes the allowed input to the config option. --- docs/reference/configuration.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 8e2035604f..e1cea60053 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -198,7 +198,8 @@ module.exports = { **Type**: `string` **Default**: `localhost` -The hostname that the dev server is running on. Snowpack uses this information to configure the HMR websocket and properly open your browser on startup (see: [`devOptions.open`](#devoptions.open)). +The hostname that the dev server is running on. Snowpack uses this information to configure the HMR websocket and properly +your browser on startup (see: [`devOptions.open`](#devoptions.open)). ### devOptions.port @@ -231,7 +232,7 @@ When using the Single-Page Application (SPA) pattern, this is the HTML "shell" f Configures how the dev server opens in the browser when it starts. -Any installed browser, e.g., "chrome", "firefox", "brave". Set "none" to disable. +Any installed browser, e.g., "chrome", "firefox", "brave", or the path to a browser. Set "none" to disable. ### devOptions.output From 0318eb2f65a6cea09777f6a7d9f5ea502152b539 Mon Sep 17 00:00:00 2001 From: Brian_Crotty <5673408+Brian-Crotty@users.noreply.github.com> Date: Thu, 20 May 2021 15:27:34 -0500 Subject: [PATCH 2/2] Update docs/reference/configuration.md Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com> --- docs/reference/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index e1cea60053..d35b551af1 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -198,7 +198,7 @@ module.exports = { **Type**: `string` **Default**: `localhost` -The hostname that the dev server is running on. Snowpack uses this information to configure the HMR websocket and properly +The hostname that the dev server is running on. Snowpack uses this information to configure the HMR websocket and properly open your browser on startup (see: [`devOptions.open`](#devoptions.open)). ### devOptions.port