Answer the question
In order to leave comments, you need to log in
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']);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question