D
D
Daniil Sukhikh2018-07-24 01:19:32
gulp.js
Daniil Sukhikh, 2018-07-24 01:19:32

Gulp styles auto update not working, what should I do?

I did everything according to this video tutorial - https://www.youtube.com/watch?v=uC8Y1HyyBmg&t=671s
I did everything when I press ctrl + s in the console it says that it was saved but there are no changes on the page.

var
    gulp  = require("gulp"),
    livereload = require("gulp-livereload");

gulp.task("reload-css", function() {
    gulp.src('./styles/*.css')
        .pipe(livereload());
});

gulp.task("default", function() {
    livereload.listen();
    gulp.watch('./styles/*.css', ['reload-css']);
});

5b565466d034b767479397.jpeg5b56546ec9cc9463743700.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question