Skip to content

Commit

Permalink
docs: update ddev get to ddev add-on get in readme (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Oct 24, 2024
1 parent a721f5a commit 2927557
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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://<project>.ddev.site:3000` or run `ddev launch :3000` to launch the proxy URL in a web browser.

Expand Down

0 comments on commit 2927557

Please sign in to comment.