<commit_before>'use strict';

var gulp = require('gulp');
var $ = require('gulp-load-plugins')();

var AUTOPREFIXER_BROWSERS = [
  'ie >= 10',
  'ie_mob >= 10',
  'ff >= 30',
  'chrome >= 34',
  'safari >= 7',
  'opera >= 23',
  'ios >= 7',
  'android >= 4.4',
  'bb >= 10'
];

gulp.task('styles', function () {
  return gulp.src('app/*.less')
    .pipe($.less({
      paths: ['app']
    }))
    .pipe($.autoprefixer({browsers: AUTOPREFIXER_BROWSERS}))
    .pipe(gulp.dest('dist'));
});

gulp.task('jade', function () {
  return gulp.src('app/index.jade')
    //.pipe($.changed('app', {extension: '.jade'}))
    .pipe($.jade({
      locals: {}
    }))
    .pipe(gulp.dest('dist'));
});

gulp.task('serve', ['jade', 'styles'], function () {
  var browserSync = require('browser-sync');
  browserSync({
    files: '{.tmp,dist}/**/*',
    server: {
      baseDir: ['dist']
    },
    open: true
  });
  gulp.watch(['app/**/*.jade'], ['jade',  browserSync.reload]);
  gulp.watch(['app/**/*.less'], ['styles', browserSync.reload]);
});<commit_msg>change gulp<commit_after>'use strict';

var gulp = require('gulp');
var $ = require('gulp-load-plugins')();

var AUTOPREFIXER_BROWSERS = [
  'ie >= 10',
  'ie_mob >= 10',
  'ff >= 30',
  'chrome >= 34',
  'safari >= 7',
  'opera >= 23',
  'ios >= 7',
  'android >= 4.4',
  'bb >= 10'
];

gulp.task('styles', function () {
  return gulp.src('app/*.less')
    .pipe($.less({
      paths: ['app']
    }))
    .pipe($.autoprefixer({browsers: AUTOPREFIXER_BROWSERS}))
    .pipe(gulp.dest('dist'));
});

gulp.task('jade', function () {
  return gulp.src('app/index.jade')
    //.pipe($.changed('app', {extension: '.jade'}))
    .pipe($.jade({
      locals: {}
    }))
    .pipe(gulp.dest('dist'));
});

gulp.task('serve', ['jade', 'styles'], function (cb) {
  var browserSync = require('browser-sync');
  browserSync({
    files: '{.tmp,dist}/**/*',
    server: {
      baseDir: ['dist']
    },
    open: true
  }, cb);
  gulp.watch(['app/**/*.jade'], ['jade',  browserSync.reload]);
  gulp.watch(['app/**/*.less'], ['styles', browserSync.reload]);
});
{'fraction_non_alphanumeric': 0.26580459770114945, 'fraction_numerical': 0.01532567049808429, 'mean_word_length': 3.2719836400817996, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3979409', 'n_tokens_mistral': 849, 'n_tokens_neox': 812, 'n_words': 139}