Skip to main content

Starts local web server that updates browser on file changes.

# To start a server from a specific directory:
browser-sync start --server path/to/directory}} --files path/to/directory}}

# To start a server from local directory, watching all css files in some directory:
browser-sync start --server --files 'path/to/directory/*.css}}'

# To create configuration file:
browser-sync init

# To start browser-sync from config file:
browser-sync start --config config_file}}