Answer the question
In order to leave comments, you need to log in
How to make livereload in Open Server?
I had gulp set up in such a way that it tracked changes in all files and, on each save, displayed it immediately in the browser. I want it to be the same with Open Server. Tell me how to do it
Answer the question
In order to leave comments, you need to log in
you also run Galpovsky, for example, browser-sync and open it through it.
task will look something like this:
gulp.task('serve', function() {
browserSync.init({
proxy: "project.loc" //название папки домена в опен сервере
});
gulp.watch("**/*.html").on('change', browserSync.reload);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question