Answer the question
In order to leave comments, you need to log in
Why is gulp-livereload not working correctly?
1. There is a gulp-task like:
gulp.task( 'watch', function() {
livereload.listen();
gulp.watch( paths.scss, ['compass']).on( 'change', livereload.changed );
} );
gulp.task( 'watch', function() {
livereload.listen();
// работает
gulp.watch( 'public/**' ).on( 'change', livereload.changed );
// не работает
gulp.watch( 'public/**/*.css' ).on( 'change', livereload.changed );
gulp.watch( 'public/**/*.{png,jpg,css,html}' ).on( 'change', livereload.changed );
} );
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