-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbs.config.js
53 lines (53 loc) · 944 Bytes
/
bs.config.js
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module.exports = {
ui: {
port: 3030,
weinre: { port: 8080 }
},
files: [ "dev/**/*" ],
port: 1337,
middleware: false,
ghostMode: {
clicks: true,
scroll: true,
forms: {
submit: true,
inputs: true,
toggles: true
}
},
open: false,
browser: "default",
notify: false,
scrollProportionally: true,
reloadDelay: 0,
reloadDebounce: 0,
minify: true,
codeSync: true,
timestamps: true,
clientEvents: [
"scroll",
"input:text",
"input:toggles",
"form:submit",
"form:reset",
"click"
],
socket: {
path: "/browser-sync/socket.io",
clientPath: "/browser-sync",
namespace: "/browser-sync",
clients: { heartbeatTimeout: 5000 }
},
tagNames: {
less: "link",
scss: "link",
css: "link",
jpg: "img",
jpe: "img",
png: "img",
svg: "img",
gif: "img",
js: "script"
},
proxy: 'http://localhost:3100'
};