var gulp = require('gulp');
var server = require('gulp-server-livereload');

gulp.task('default', ['clean', 'scripts'], function() {
  gulp.src('./')
    .pipe(server({
      defaultFile: 'demo.html',
      livereload: true,
      open: true
  }));

  gulp.watch(['./what-input.js', './polyfills/*.js'], ['scripts']);
});

var gulp = require('gulp');
var browserSync = require('browser-sync').create();

gulp.task('default', ['clean', 'scripts'], function() {
  browserSync.init({
    server: {
      baseDir: './'
    }
  });

  gulp.watch(['./what-input.js', './polyfills/*.js'], ['scripts']).on('change', browserSync.reload);
});

Replace server live reload with browser sync
Replace server live reload with browser sync
