mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
553 B
553 B
browser-sync
Starts local web server that updates browser on file changes. Homepage: https://browsersync.io/docs/command-line.
- Start a server from a specific directory:
browser-sync start --server {{path/to/directory}} --files {{path/to/directory}}
- Start a server from local directory, watching all css files in some directory:
browser-sync start --server --files '{{path/to/directory/*.css}}'
- Create configuration file:
browser-sync init
- Start browser-sync from config file:
browser-sync start --config {{config_file}}