It seems I can not get the original layouts and work correctly with gulp -ruby-sass. They generate, and I can see the comment at the end of my css file, but Chrome does not read them, despite the fact that the options are enabled in the settings.
Thanks for any help
var gulp = require('gulp'); var gutil = require('gulp-util'); var sass = require('gulp-ruby-sass'); gulp.task('sass', function(){ gulp.src('./assets/scss/main.scss') .pipe(sass({noCache: true, sourcemapPath: '../scss'})) .on('error', function(err){console.log(err.message);}) .pipe(gulp.dest('./assets/css/')); }); gulp.task('watch',function(){ gulp.watch('./assets/**/*.scss', ['sass']); }); gulp.task('default', ['sass','watch']);
source share