<commit_before>// Use the gulp-help plugin which defines a default gulp task
// which lists what tasks are available.
var gulp = require('gulp-help')(require('gulp'));

// https://github.com/narirou/gulp-develop-server
// Relies on default or defineable signals from the child
// server process to detect start success and error
// http://stackoverflow.com/a/10394457
var server = require('gulp-develop-server');

var packagejson = require('../../package.json');
var binaryPath = packagejson.bin['module-name'];

gulp.task('server:start', 'Start serving the app.', ['set-envs:test'], function(done) {
  server.listen({
    path: binaryPath,
    env: {
      NODE_ENV: process.env.NODE_ENV,
      PORT: process.env.PORT
    }
  }, done);
});

gulp.task('server:stop', 'Stop serving the app.', function(done) {
  server.kill(undefined, done);
});

gulp.task('server:restart', 'Restart the server.', function(done) {
    server.restart(function(error) {
      done(error);<commit_msg>Updating bulp task to reflect changes in package.json<commit_after>// Use the gulp-help plugin which defines a default gulp task
// which lists what tasks are available.
var gulp = require('gulp-help')(require('gulp'));

// https://github.com/narirou/gulp-develop-server
// Relies on default or defineable signals from the child
// server process to detect start success and error
// http://stackoverflow.com/a/10394457
var server = require('gulp-develop-server');

var packagejson = require('../../package.json');
var binaryPath = packagejson.bin['oss-specs'];

gulp.task('server:start', 'Start serving the app.', ['set-envs:test'], function(done) {
  server.listen({
    path: binaryPath,
    env: {
      NODE_ENV: process.env.NODE_ENV,
      PORT: process.env.PORT
    }
  }, done);
});

gulp.task('server:stop', 'Stop serving the app.', function(done) {
  server.kill(undefined, done);
});

gulp.task('server:restart', 'Restart the server.', function(done) {
    server.restart(function(error) {
      done(error);
{'fraction_non_alphanumeric': 0.1575, 'fraction_numerical': 0.008, 'mean_word_length': 4.065822784810127, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3265229', 'n_tokens_mistral': 629, 'n_tokens_neox': 616, 'n_words': 164}