<commit_before>
var gulp = require('gulp');
var chalk = gutil.colors;

var runtime = module.exports = new require('runtime').createInterface('gulp');

runtime({ env : process.env });
runtime.require('./gulp-cli');

gulp.on('task_stop', function(){

  process.nextTick(function(){
    runtime.prompt();

    if(!gulp.tasks['watch']){
      console.log(
        chalk.yellow(' [gulp-runtime] ') + ' No `watch` task defined. Exiting the process.' ))
      process.exit(0);
    }
  })
})
<commit_msg>0.2.x -> if no \`watch\` task don not wait on stdin<commit_after>
var gulp = require('gulp');
var chalk = gutil.colors;

var runtime = module.exports = new require('runtime').createInterface('gulp');

runtime({ env : process.env });
runtime.require('./gulp-cli');

gulp.on('task_stop', function(){

  process.nextTick(function(){
    runtime.prompt();

    if(!gulp.tasks['watch']){
      console.log(
        chalk.yellow(' [gulp-runtime] ') + ' No `watch` task defined. Exiting the process.'
      );
      process.exit(0);
    }
  })
})

{'fraction_non_alphanumeric': 0.19111969111969113, 'fraction_numerical': 0.003861003861003861, 'mean_word_length': 3.508695652173913, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4184035', 'n_tokens_mistral': 350, 'n_tokens_neox': 339, 'n_words': 73}