const gulp = require('gulp');
const browserSync = require('browser-sync').create();
const jasmine = require('gulp-jasmine');
const browserify = require('gulp-browserify');

// Static server
gulp.task('browser-sync', () => {
  browserSync.init({
    server: {
      baseDir: './src'
    },
    port: process.env.PORT || 8000
  });
});

// gulp.task('build:scripts', () => {
//   return gulp.src(['src/js/inverted-index.js', 'jasmine/spec/inverted-index-test.js'])
//     .pipe(browserify())
//     .pipe(gulp.dest('build'));
// });

gulp.task('watch', () => {
  gulp.watch(['./**/*.html', './**/**/*.css', './**/**/*.js'])
    .on('change', browserSync.reload);
});


gulp.task('default', ['browser-sync', 'watch'], () => {});

@@ -77,16 +77,18 @@
 eate();%0A
+//
 const ja
@@ -116,24 +116,26 @@
 -jasmine');%0A
+//
 const browse

remove violations