-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbsync.config.sample.js
More file actions
36 lines (35 loc) · 932 Bytes
/
bsync.config.sample.js
File metadata and controls
36 lines (35 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
|--------------------------------------------------------------------------
| Browser-sync config file
|--------------------------------------------------------------------------
|
| For up-to-date information about the options:
| http://www.browsersync.io/docs/options/
|
| There are more options than you see here, these are just the ones that are
| set internally. See the website for more info.
*/
module.exports = {
port: 3470,
proxy: 'local.example.test',
open: false,
browser: 'google chrome',
ghostMode: false,
notify: true,
ui: false,
reloadOnRestart: true,
files: [
'./assets/css/style.css',
'./assets/js/script.js'
],
snippetOptions: {
// Load Browsersync inject code before the closing body tag
// in-order to avoid issues with D10's admin toolbar.
rule: {
match: /<\/body>/i,
fn: function (snippet, match) {
return snippet + match
}
}
}
}