OSDN Git Service
(root)
/
twpd
/
master.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Regular updates
[twpd/master.git]
/
browser-sync.md
1
---
2
title: Browsersync
3
category: JavaScript libraries
4
layout: 2017/sheet
5
---
6
7
### About
8
{: .-intro}
9
10
`npm i -g browser-sync`
11
12
* [browsersync.io](https://browsersync.io)
13
14
### Start a server
15
16
```sh
17
browser-sync start --server <path> --files='**/*.html, **/*.css'
18
```
19
20
### Options
21
22
```sh
23
--port=N
24
--proxy="http://127.0.0.1:3000"
25
```