From 80ea46bbf526adf6a8f18ccfa7bd7d442aeea9e6 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Mon, 25 Jun 2018 18:52:45 +0300 Subject: [PATCH] Align variables to the same style --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e71ea3a..1d822f2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -5,7 +5,7 @@ const rename = require('gulp-rename'); const replace = require('gulp-replace'); const zip = require('gulp-zip'); const pages = require('gh-pages'); -const browserSync = require('browser-sync').create(); +const sync = require('browser-sync').create(); gulp.task('prepare', () => { @@ -95,7 +95,7 @@ gulp.task('publish', gulp.series( )); gulp.task('serve', () => { - browserSync.init({ + sync.init({ ui: false, notify: false, port: 3000, @@ -104,6 +104,6 @@ gulp.task('serve', () => { } }); gulp.watch('index.html').on('change', () => { - browserSync.reload(); + sync.reload(); }); });