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
feat(dev): document how to disable browser auto launch (#4106)
* docs(de): document how to avoid browser to auto start
* fix: remove wrong docs
Co-authored-by: Alberto De Agostini <alberto.deagostini@adevinta.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Copy file name to clipboardexpand all lines: docs/netlify-dev.md
+6
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,12 @@ EXAMPLES
85
85
$ netlify dev -c "hugo server -w" --targetPort 1313
86
86
```
87
87
88
+
The command will automatically open your preferred browser to serve the application. You can customize this behaviour by using the `BROWSER` environment variable:
89
+
90
+
```bash
91
+
$ BROWSER=none netlify dev # this will disable the auto opening of the browser
92
+
```
93
+
88
94
## Live Share
89
95
90
96
To share your ongoing dev session with a coworker, just run Netlify Dev with a `--live` flag:
0 commit comments