//...
const bs = require('browser-sync').create();
//...
gulp.task('watch', () => {
//...
});
gulp.task('watch-build', () => {
bs.init({
server: './build',
});
gulp.watch('index.html').on('change', bs.reload);
//...
});