From 292755732e27eaa674d1463e9df50dc0fd0e4055 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Fri, 25 Oct 2024 03:10:41 +1300 Subject: [PATCH] docs: update `ddev get` to `ddev add-on get` in readme (#59) --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ad887f6..7b20164 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,11 @@ This add-on allows you to run [Browsersync](https://browsersync.io/) through the - Install the DDEV Browsersync add-on: ```shell +# For DDEV v1.23.5 or above run +ddev add-on get ddev/ddev-browsersync +# For earlier versions of DDEV run ddev get ddev/ddev-browsersync +# Then for all versions: ddev restart ddev browsersync ``` @@ -44,9 +48,17 @@ EG. If you run `ddev browsersync` from a local project and get `Error: unknown command "browsersync" for "ddev"`, run the following to add the command to the project: - ```shell - ddev get ddev/ddev-browsersync - ``` +For DDEV v1.23.5 or above run + +```sh +ddev add-on get ddev/ddev-browsersync +``` + +For earlier versions of DDEV run + +```sh +ddev get ddev/ddev-browsersync +``` Once Browsersync is running, visit `https://.ddev.site:3000` or run `ddev launch :3000` to launch the proxy URL in a web browser.