browser-sync Command Examples

A local web server that updates browser on file changes. More information: https://browsersync.io/docs/command-line.

browser-sync start --server {{path/to/directory}} --files {{path/to/directory}}

browser-sync start --server --files '{{path/to/directory/*.css}}'

browser-sync init

browser-sync start --config {{config_file}}