Categories
How to make browser-sync track changes?
How to make browser-sync track changes of all html files in all folders? I use gulp to build
Answer the question
In order to leave comments, you need to log in
Through watch you prescribe all the files that you need and browser-sync works. I have so:
function watch(){ browserSync.init() gulp.watch('assets/scss/**/*.scss', style); gulp.watch('assets/js/*.js', scripts); gulp.watch("assets/*.html").on('change', reload); }
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question