-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbs-config.js
36 lines (34 loc) · 846 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
/*
|--------------------------------------------------------------------------
| Browser-sync config file
|--------------------------------------------------------------------------
*/
// var config = require('../../config.json')
// var port = (config.browsersync) ? config.browsersync.port : 3000
var port = 3000
// browser-sync start -s -b "google chrome" -f "./index.html" "public#<{(|.css" "src/js#<{(|*"
module.exports = {
port: port,
open: false,
ghostMode: false,
ui: false,
logLevel: 'info',
logConnections: true,
logFileChanges: true,
reloadDelay: 1000,
reloadDebounce: 0,
injectChanges: true,
logSnippet: true,
watchOptions: {
usePolling: true
},
proxy: "localhost:8080",
socket: {
domain: 'localhost:' + port,
port: port
},
files: [
'public/main.css',
'src/js/**/*.js'
]
}