Professional Documents
Culture Documents
Browsersync Command Line Usage
Browsersync Command Line Usage
First, either install Browsersync globally, or locally to your project (if you're using npm scripts) and
then run one of the following commands
^ TOP
For help running a certain command, type $ browser-sync <command> --help, for example:
$ browser-sync start
^ TOP
--server, -s Run a Local server (uses your cwd as the web root)
--open Choose which URL is auto-opened (local, external or tunnel), or provide a url
--reload-delay Time in milliseconds to delay the reload event following file changes
# Examples
# Start a server from the `app` & `.tmp` directories (short hand)
# (requires 2.12.1)
$ browser-sync recipe
^ TOP
# Examples
$ browser-sync recipe ls