Hello. I can not figure out what is wrong? Everything starts when saving writes Reloading Browsers, but does not update!

var gulp = require('gulp'), browserSync = require('browser-sync').create(); gulp.task('browser-sync', function() { browserSync.init({ server: { baseDir: "app" } }); }); gulp.task('watch',['browser-sync'] , function() { gulp.watch('app/*.html', browserSync.reload); }); 

1 answer 1

Found a problem. I did not do html markup, but just wrote in the file without markup. It only works with markup. If someone knows why, then please tell us.