Browsersync formatting

This commit is contained in:
Rico Sta. Cruz 2015-04-17 02:55:48 +08:00
parent 4fbe296f5a
commit e839dca089
1 changed files with 13 additions and 4 deletions

View File

@ -2,15 +2,24 @@
title: Browsersync title: Browsersync
--- ---
[`npm install -g browser-sync`](http://browsersync.io)
``` ```
npm i -g browser-sync
```
{:.terminal}
### Start a server
```sh
browser-sync start --server <path> --files='**/*.html, **/*.css' browser-sync start --server <path> --files='**/*.html, **/*.css'
``` ```
Options ### Options
``` ```sh
--port=N --port=N
--proxy="http://127.0.0.1:3000" --proxy="http://127.0.0.1:3000"
``` ```
### Reference
* [browsersync.io](http://browsersync.io)