Skip to content

Working with a Config File

Shane Osbourne edited this page Feb 2, 2014 · 24 revisions

Whilst BrowserSync can be used directly from the Command-line - you will probably want to configure each of your projects separately. You can acheive this by having a different bs-config.js file in the root of each one.

###Step 1 To create a config file, move into your project directory (the root folder of your website) and run:

browser-sync init

###Step 2 Configure options

Step 3

With all the configuration options set, you're ready to run this command (in the same dir as the bs-config.js file)

browser-sync
Clone this wiki locally