gulp-sass-graph
Only pass along Sass files that have changed, along with dependencies.
Last updated 6 years ago by lox .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-sass-graph 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (6 years ago)

1 Versions

  • 1.0.0                                ...           6 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (5)
Dev Dependencies (2)

Copyright 2014 - 2016 © taobao.org |