Commit 80ea46bb authored by Vadim Makeev's avatar Vadim Makeev

Align variables to the same style

parent 8db267df
...@@ -5,7 +5,7 @@ const rename = require('gulp-rename'); ...@@ -5,7 +5,7 @@ const rename = require('gulp-rename');
const replace = require('gulp-replace'); const replace = require('gulp-replace');
const zip = require('gulp-zip'); const zip = require('gulp-zip');
const pages = require('gh-pages'); const pages = require('gh-pages');
const browserSync = require('browser-sync').create(); const sync = require('browser-sync').create();
gulp.task('prepare', () => { gulp.task('prepare', () => {
...@@ -95,7 +95,7 @@ gulp.task('publish', gulp.series( ...@@ -95,7 +95,7 @@ gulp.task('publish', gulp.series(
)); ));
gulp.task('serve', () => { gulp.task('serve', () => {
browserSync.init({ sync.init({
ui: false, ui: false,
notify: false, notify: false,
port: 3000, port: 3000,
...@@ -104,6 +104,6 @@ gulp.task('serve', () => { ...@@ -104,6 +104,6 @@ gulp.task('serve', () => {
} }
}); });
gulp.watch('index.html').on('change', () => { gulp.watch('index.html').on('change', () => {
browserSync.reload(); sync.reload();
}); });
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment