Skip to content

Commit 0cf66be

Browse files
committed
Update README.md
1 parent 6c123e8 commit 0cf66be

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,23 @@ browserSync.init(['css/*.css'], {
7171
Depending on what version of Browser Sync you're using, you will need to alter this configuration slightly.
7272
To check what version you're running, use: `npm view browser-sync version`
7373

74+
When running Browser Sync versions prior to 0.7.0, use the following:
7475
```js
75-
// Watch CSS files and use the proxy with your own server. (For browser-sync versions < 0.7.0)
76+
// Watch CSS files and use the proxy with your own server.
7677
browserSync.init(['css/*.css'], {
7778
proxy: {
7879
host: 'mylocal.dev',
7980
port: '8000'
8081
}
8182
});
83+
```
8284

83-
// Watch CSS files and use the proxy with your own server. (For browser-sync versions >= 0.7.0)
85+
When running Browser Sync versions of 0.7.0 or higher, use the following:
86+
```js
87+
// Watch CSS files and use the proxy with your own server.
8488
browserSync.init(['css/*.css'], {
8589
proxy: 'mylocal.dev:8000'
8690
});
87-
88-
8991
```
9092

9193
**Using along-side other watch tasks (SASS)**

0 commit comments

Comments
 (0)