<commit_before>var gulp = require('gulp')
var join = require('path').join
var express = require('express')
var WebpackDevServer = require('webpack-dev-server')
var webpack = require('./support/webpack')
var PORT = process.env.PORT || (process.env.PORT = 3000)
var DEV_PORT = process.env.DEV_PORT || (process.env.DEV_PORT = 8080)

gulp.task('server', [
  'clean',
  'copy'
], function (done) {
  // Compilation watch tasks.
  gulp.watch('assets/**/*', ['copy:assets'])

  var server = new WebpackDevServer(webpack({
    devPort: DEV_PORT,
    production: false
  }), {
    contentBase: join(__dirname, '../build'),
    hot: true,
    filename: 'bundle.js',
    publicPath: '/js/',
    watchDelay: 300,
    stats: {
      colors: true,
      hash: false,
      chunks: false
    }
  })

  var app = require('../')

  app.listen(PORT, function (err) {
    return err ? done(err) : server.listen(DEV_PORT, '0.0.0.0', done)
  })
})<commit_msg>Remove deprecated watch delay from web pack <commit_after>var gulp = require('gulp')
var join = require('path').join
var express = require('express')
var WebpackDevServer = require('webpack-dev-server')
var webpack = require('./support/webpack')
var PORT = process.env.PORT || (process.env.PORT = 3000)
var DEV_PORT = process.env.DEV_PORT || (process.env.DEV_PORT = 8080)

gulp.task('server', [
  'clean',
  'copy'
], function (done) {
  // Compilation watch tasks.
  gulp.watch('assets/**/*', ['copy:assets'])

  var server = new WebpackDevServer(webpack({
    devPort: DEV_PORT,
    production: false
  }), {
    contentBase: join(__dirname, '../build'),
    hot: true,
    filename: 'bundle.js',
    publicPath: '/js/',
    stats: {
      colors: true,
      hash: false,
      chunks: false
    }
  })

  var app = require('../')

  app.listen(PORT, function (err) {
    return err ? done(err) : server.listen(DEV_PORT, '0.0.0.0', done)
  })
})
{'fraction_non_alphanumeric': 0.176033934252386, 'fraction_numerical': 0.014316012725344645, 'mean_word_length': 3.347926267281106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7508961', 'n_tokens_mistral': 656, 'n_tokens_neox': 629, 'n_words': 151}