D
D
Dmitry Rudenko2021-09-11 17:49:51
gulp.js
Dmitry Rudenko, 2021-09-11 17:49:51

Why doesn't gulp update all html files?

Hello.
Why do I write like this:

gulp.task('watch', function () {
  watch('./app/*.html', gulp.parallel( bs.reload ))
})
and it doesn't refresh pages when changing
A when I write like this:
gulp.task('watch', function () {
  watch('./app/index.html', gulp.parallel( bs.reload ))
}) то так обновляет файл, что я не так делаю выше?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Viktorovich, 2021-10-06
@shotlandec1980

watch('./app/**/*.html', gulp.parallel( bs.reload ))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question