T
T
Think With Your Head2015-09-28 13:24:00
JavaScript
Think With Your Head, 2015-09-28 13:24:00

Why is gulp dest ignoring my path?

Hello!
This code does not work
gulp.task('sass', function() {
return sass(paths.sass, {style: 'expanded'}).pipe(gulp.dest('htdocs/css/'))
});
Instead of the htdocs/css directory, the style.css file is written to the system temporary folder c:\TEMP\gulp-ruby-sass\a7a3e12dc657c02aa539155a2df989d0.css/style.css
What's the glitch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Antonov, 2015-09-28
@Sadist07

gulp.task('sass', function () {
  gulp.src(paths.sass)
    .pipe(sass().on('error', sass.logError))
    .pipe(gulp.dest('htdocs/css'));
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question