Gulp Browsersync Showing "reloading Browsers" In Terminal, But Not Reloading The Actual Browser.
I'm having an issue where my tasks are running as desired and BrowserSync seems to be working, but the actual browser isn't reloading. I'm getting the right messages in my Terminal
Solution 1:
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).
Post a Comment for "Gulp Browsersync Showing "reloading Browsers" In Terminal, But Not Reloading The Actual Browser."