gulp-sass-graph

    1.0.0 • Public • Published

    Read the import graph from passed sass files to work with dependencies

    Only pass along Sass files that have changed, along with dependencies.

    Install

    Install with npm

    npm install --save-dev gulp-sass-graph
    

    Example

    gulp.task('watch-sass', function(cb) {
      return watch({glob:'resources/assets/css/**/*.scss', emitOnGlob: false, name: "Sass"})
        .pipe(sassGraph(sassLoadPaths))
        .pipe(sass({loadPath: sassLoadPaths}))
        .pipe(notify('Sass compiled <%= file.relative %>'))
        .pipe(gulp.dest('web/dist/css'))
        .pipe(livereload());
    });

    License

    MIT © Lachlan Donald

    Install

    npm i gulp-sass-graph

    DownloadsWeekly Downloads

    16

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • lox
    • xzyfer