H
H
Hello World2021-11-07 19:26:49
PHP
Hello World, 2021-11-07 19:26:49

Browsersync and gulp-connect-php not working?

I ask for help from experts, there was such a problem:
I have a Gulp assembly, for php in which browserSync and gulp-connect-php conflict, without the base property (responsible for where the files will be served from) everything worked fine for gulp-connect-php , browserSync opened the browser and reacted to file changes, but after adding the base property all this stopped working, I can only manually open the page at this address
127.0. ..

function browsersync(done) {
    connect.server({ base: 'build' }, function () {
        browserSync.init({
            notify: false,
            proxy: '127.0.0.1:8000',
        });
    });
    done();
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question