I
I
issssrt2016-01-07 15:28:24
Node.js
issssrt, 2016-01-07 15:28:24

Why is gulp-stylus not working?

task

gulp.task('cssstyl', function () {
  gulp.src('./css/style.styl')
    .pipe(stylus())
    .pipe(gulp.dest('./css'));
});

watch
gulp.task('watch', function () {
  gulp.watch('css/style.сыы',['cssstyl']);
   	gulp.watch('css/**/*.css',['concatCss']);
   	gulp.watch('dist/all.css',['cssmin']);
   	gulp.watch('js/*.js',['js']);
   	gulp.watch('dist/*.js',['compress']);
   
});

Added it to watch. When saving a styl file, the css file is not overwritten. If you delete the old style.css, then it is created. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2016-01-07
@OnYourLips

css/style. syy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question