Answer the question
In order to leave comments, you need to log in
I configure browserSync to work through a proxy - why do the styles fly off?
In the usual configuration of the browserSync task, everything works stably:
gulp.task('browser-sync', function() {
browserSync({
server: {
baseDir: 'app'
},
notify: false,
browser: 'google chrome',
})
});
gulp.task('browser-sync', function() { //In case of php-project
browserSync({
proxy: "http://localhost:8888/untitled/app/",
notify: false,
browser: 'google chrome',
})
});
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