mirror of
https://github.com/ascribe/onion.git
synced 2024-11-14 09:05:08 +01:00
disable browsersync ghostmode by default
This commit is contained in:
parent
9aa47a5de4
commit
abbaa80bac
@ -48,8 +48,7 @@ var config = {
|
||||
},
|
||||
filesToWatch: [
|
||||
'build/css/*.css',
|
||||
'build/js/*.js',
|
||||
'node_modules/react-s3-fine_uploader/*.js'
|
||||
'build/js/*.js'
|
||||
]
|
||||
};
|
||||
|
||||
@ -73,6 +72,8 @@ gulp.task('js:build', function() {
|
||||
|
||||
gulp.task('serve', ['browser-sync', 'run-server', 'sass:build', 'sass:watch', 'copy'], function() {
|
||||
bundle(true);
|
||||
|
||||
// opens the browser window with the correct url, which is localhost.com
|
||||
opn('http://www.localhost.com:3000');
|
||||
});
|
||||
|
||||
@ -95,7 +96,8 @@ gulp.task('browser-sync', function() {
|
||||
files: config.filesToWatch,
|
||||
proxy: 'http://localhost:4000',
|
||||
port: 3000,
|
||||
open: false
|
||||
open: false, // does not open the browser-window anymore (handled manually)
|
||||
ghostMode: false
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user