Skip to content

Commit e0911a6

Browse files
Merge pull request #15 from iskrisis/master
Add browserSyncOptions
2 parents f70eac0 + b51fd14 commit e0911a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class Jigsaw {
3535
'source/**/*.scss',
3636
'!source/**/cache/*',
3737
],
38+
browserSyncOptions: {},
3839
...config,
3940
};
4041
}
@@ -111,6 +112,7 @@ class Jigsaw {
111112
port: this.port,
112113
proxy: proxy,
113114
server: proxy ? null : { baseDir: 'build_' + this.env + '/' },
115+
...this.config.browserSyncOptions,
114116
}, {
115117
reload: false,
116118
callback: () => browserSyncInstance = BrowserSync.get('bs-webpack-plugin'),

0 commit comments

Comments
 (0)