File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -71,21 +71,23 @@ browserSync.init(['css/*.css'], {
7171Depending on what version of Browser Sync you're using, you will need to alter this configuration slightly.
7272To 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.
7677browserSync .init ([' css/*.css' ], {
7778proxy: {
7879host: ' mylocal.dev' ,
7980port: ' 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.
8488browserSync .init ([' css/*.css' ], {
8589proxy: ' mylocal.dev:8000'
8690});
87-
88-
8991```
9092
9193** Using along-side other watch tasks (SASS)**
You can’t perform that action at this time.
0 commit comments