Answer the question
In order to leave comments, you need to log in
How to make gulp react to all files?
Good afternoon, how to rewrite this line correctly so that it reacts to all links?
gulp.task('browser-sync', function() {
browserSync({
proxy: "domain.loc",
notify: false
});
});
Answer the question
In order to leave comments, you need to log in
I also use BrowserSync. I have it implemented like this:
var config = {
server: {
baseDir: './build/'
},
tunnel: false,
host: 'localhost',
port: 8080,
logPrefix: "dzvonkevich"
};
gulp.task('webserver', function () {
browserSync(config);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question