Skip to content

Commit 2927557

Browse files
docs: update ddev get to ddev add-on get in readme (#59)
1 parent a721f5a commit 2927557

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ This add-on allows you to run [Browsersync](https://browsersync.io/) through the
2525
- Install the DDEV Browsersync add-on:
2626

2727
```shell
28+
# For DDEV v1.23.5 or above run
29+
ddev add-on get ddev/ddev-browsersync
30+
# For earlier versions of DDEV run
2831
ddev get ddev/ddev-browsersync
32+
# Then for all versions:
2933
ddev restart
3034
ddev browsersync
3135
```
@@ -44,9 +48,17 @@ EG.
4448

4549
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:
4650

47-
```shell
48-
ddev get ddev/ddev-browsersync
49-
```
51+
For DDEV v1.23.5 or above run
52+
53+
```sh
54+
ddev add-on get ddev/ddev-browsersync
55+
```
56+
57+
For earlier versions of DDEV run
58+
59+
```sh
60+
ddev get ddev/ddev-browsersync
61+
```
5062

5163
Once Browsersync is running, visit `https://<project>.ddev.site:3000` or run `ddev launch :3000` to launch the proxy URL in a web browser.
5264

0 commit comments

Comments
 (0)