Gulp BrowserSync showing "reloading browsers" in Terminal, but not reloading the actual browser. Gulp BrowserSync showing "reloading browsers" in Terminal, but not reloading the actual browser. wordpress wordpress

Gulp BrowserSync showing "reloading browsers" in Terminal, but not reloading the actual browser.


Your usage of browser-sync options is incorrect. They should all be within one object. So something like:

    var files = [        'www/wp-content/themes/my-theme/**/*.php'    ];    browserSync.init({        files: files,        proxy: 'http://my-theme:8080/'    });

See init takes an object and init options:

Create a single object and pass it as the first argument (for GulpJS and normal API usage).