Nice Parakeet Marriage

    gulp-vtouch

    0.1.1 • Public • Published

    gulp-vtouch

    Change the modified time of the file in the gulp pipeline based on related dependencies.

    Usage

    const gulp = require('gulp');
    const vtouch = require('gulp-vtouch');
    const changed = require('gulp-changed');
    const sass = require('gulp-sass'); 
    
    gulp.task('default', () => {
      const dest = 'dest/style'
    
      return gulp.src(['src/style/*.scss'])
        .pipe(vtouch('src/style/*/**/*.scss'))
        .pipe(changed(dest))
        .pipe(sass())
        .pipe(gulp.dest(dest));
    });

    TODO

    Make fsstat async

    Add support for custom rules

    Glob variables to vary glob by file

    Tests :-(

    Keywords

    none

    Install

    npm i gulp-vtouch

    DownloadsWeekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • samirkseth