Open
Description
Hi,
I'm using this browser-sync-webpack-plugin
(along with gulp+webpack-dev-server) to run an Angular application built with Angular CLI.
The plugin config is the same as default:
module.exports = {
// ...
plugins: [
new BrowserSyncPlugin(
// BrowserSync options
{
// browse to http://localhost:3000/ during development
host: 'localhost',
port: 3000,
// proxy the Webpack Dev Server endpoint
// (which should be serving on http://localhost:3100/)
// through BrowserSync
proxy: 'http://localhost:3100/'
},
// plugin options
{
// prevent BrowserSync from reloading the page
// and let Webpack Dev Server take care of this
reload: false
}
)
]
}
Almost everything works pretty well. BrowserSync
proxies to webpack-dev-server
, its features like scroll synchronization, CSS outlines, CSS grids, work great across browsers/devices (tested with Chrome, Chrome Android and Firefox).
The plugin DOES detect changes from webpack-dev-server
, and refresh the page on PC browsers.
But the refresh is not triggered automatically on my mobile browser (Chrome Android v.57.0.2950.3).
even if the "Rebuilding..." message is correctly displayed.
Any ideas?
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels