<commit_before>import gulp from 'gulp';
import watch from 'gulp-watch';
import ghPages from 'gulp-gh-pages';
import connect from 'gulp-connect';
import open from 'gulp-open';
import './gulp/i18n';
import './gulp/mock';
import './gulp/build';


gulp.task('connect', () => {
  connect.server({
    root: 'www',
    port: 8080,
    livereload: true,
  });
});

gulp.task('open', () => gulp.src('www/index.html')
  .pipe(open({
    uri: 'http://localhost:8080/',
  })));

gulp.task('serve', ['open', 'connect'], () => {
  watch(['www/*.html'])
    .pipe(connect.reload());
});

gulp.task('deploy', ['build-min'],
  () => gulp.src(['404.md', 'LICENSE', 'README.md', 'CNAME', './www/**', './beta/**'])
  .pipe(ghPages()));

gulp.task('test-deploy', ['build-min', 'serve'], () => {
});

gulp.task('watch-css', () => gulp.watch(['static/**'], {
  debounceTimeout: 1000,<commit_msg>Added translation to deploy script in gulp<commit_after>import gulp from 'gulp';
import watch from 'gulp-watch';
import ghPages from 'gulp-gh-pages';
import connect from 'gulp-connect';
import open from 'gulp-open';
import './gulp/i18n';
import './gulp/mock';
import './gulp/build';


gulp.task('connect', () => {
  connect.server({
    root: 'www',
    port: 8080,
    livereload: true,
  });
});

gulp.task('open', () => gulp.src('www/index.html')
  .pipe(open({
    uri: 'http://localhost:8080/',
  })));

gulp.task('serve', ['open', 'connect'], () => {
  watch(['www/*.html'])
    .pipe(connect.reload());
});

gulp.task('deploy', ['build-min'],
  () => gulp.src(['404.md', 'LICENSE', 'README.md', 'CNAME', './www/**', './beta/**', './translation/**'])
  .pipe(ghPages()));

gulp.task('test-deploy', ['build-min', 'serve'], () => {
});

gulp.task('watch-css', () => gulp.watch(['static/**'], {
  debounceTimeout: 1000,
{'fraction_non_alphanumeric': 0.27298050139275765, 'fraction_numerical': 0.01894150417827298, 'mean_word_length': 4.087818696883852, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, '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': '461678', 'n_tokens_mistral': 692, 'n_tokens_neox': 655, 'n_words': 126}