All apps/Browsersync

Browsersync

browser-sync

Keep multiple browsers and devices in sync when building websites.

Runs as browser-sync|macOS, Linux, Windows|browsersync.io

Command form

ai-draft · 2 tasks · 11 fields

Serve a directory or proxy a server and reload browsers on file changes. Only common options are offered.

Opens the form; the finished command lands at your prompt, unrun
otty gui browser-sync

browser-sync start

Start Browsersync
Start BrowsersyncExample values, fixed in this page — nothing here reaches a terminal
Basic
Serve current directory*
--server
Files to watch
string
Port
integer
TasksEach one presets the form for one job
Serve a static site
serverfilesport
Proxy a dev server
proxyfilesport
ParametersOnly these flags are editable in the form
Serve current directory
boolean
--server-s
Proxy an existing server
Give the host of the server to proxy, e.g. localhost:8080.
string
--proxy-p
Files to watch
Paths or glob patterns to watch for changes.
string · repeatable
--files-f
Port
integer
--port
Index file
string
--index
Directory listing
boolean
--directory
Single-page app fallback
boolean
--single
HTTPS
boolean
--https
Public tunnel URL
boolean
--tunnel
Open in browser
Which URL to open automatically.
enum
--openlocalexternaltunnel
Config file
path
--config-c
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed browser-sync against its version. A form that does not match your version is not offered.