You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,11 @@ This add-on allows you to run [Browsersync](https://browsersync.io/) through the
25
25
- Install the DDEV Browsersync add-on:
26
26
27
27
```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
28
31
ddev get ddev/ddev-browsersync
32
+
# Then for all versions:
29
33
ddev restart
30
34
ddev browsersync
31
35
```
@@ -44,9 +48,17 @@ EG.
44
48
45
49
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:
46
50
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
+
```
50
62
51
63
Once Browsersync is running, visit `https://<project>.ddev.site:3000` or run `ddev launch :3000` to launch the proxy URL in a web browser.
0 commit comments