<commit_before>var duration = require('gulp-duration');
var gulp = require('gulp');
var sass = require('gulp-sass');
var path = require('path');
var compass = require('gulp-compass');
var concat = require('gulp-concat');
var uglify = require("gulp-uglify");

// Compiling SCSS using SASS/Compass
gulp.task('sass', function() { 
    return gulp.src(['demo/assets/scss/*.scss', '!demo/scss/_*.scss'])
    .pipe(compass({
        config_file: 'config.rb',
        css: 'demo/assets/css',
        sass: 'demo/assets/scss',
        image: 'demo/assets/images',
        sourcemap: true
    }))
    .pipe(duration('compiling css'))
    .pipe(gulp.dest('demo/assets/css'));
});

gulp.task('all', function() {
  return gulp.src([
        'js/crane.js',
        'js/temlate.js',
        'js/modal.js'
    ])
    .pipe(concat('all.js'))
    .pipe(uglify())
    .pipe(gulp.dest('web/js/'));
});

// Watch
gulp.task('watch', function () {
    gulp.watch('web/**/*.scss', ['sass']);
});

// Default
gulp.task('default', ['sass', 'watch']);<commit_msg>arrumei o gulpfile não estava funcionando o watch<commit_after>var duration = require('gulp-duration');
var gulp = require('gulp');
var sass = require('gulp-sass');
var path = require('path');
var compass = require('gulp-compass');
var concat = require('gulp-concat');
var uglify = require("gulp-uglify");

// Compiling SCSS using SASS/Compass
gulp.task('sass', function() { 
    return gulp.src(['demo/assets/scss/*.scss', '!demo/scss/_*.scss'])
    .pipe(compass({
        config_file: 'config.rb',
        css: 'demo/assets/css',
        sass: 'demo/assets/scss',
        image: 'demo/assets/images',
        sourcemap: true
    }))
    .pipe(duration('compiling css'))
    .pipe(gulp.dest('demo/assets/css'));
});

gulp.task('all', function() {
  return gulp.src([
        'js/crane.js',
        'js/temlate.js',
        'js/modal.js'
    ])
    .pipe(concat('all.js'))
    .pipe(uglify())
    .pipe(gulp.dest('web/js/'));
});

// Watch
gulp.task('watch', function () {
    gulp.watch('demo/assets/scss/**/*.scss', ['sass']);
});

// Default
gulp.task('default', ['sass', 'watch']);
{'fraction_non_alphanumeric': 0.22044276966556758, 'fraction_numerical': 0.0, 'mean_word_length': 3.2142857142857144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1939557', 'n_tokens_mistral': 776, 'n_tokens_neox': 770, 'n_words': 132}