Questions tagged [browser-sync]

Related to the browser-sync Node.js module, used to synchronize URLs, interactions and code changes across multiple devices.

Browser-sync is a CLI application to watch files HTML/CSS/JS files for changes and push it to the Browser in real time, kind of like modern LiveReload.

Use npm install -g browser-sync to install it via NPM.

Usage Example:

browser-sync start --files "css/core.css, css/ie.css"
Watch css/core.css and css/ie.css files for changes and reloads the browsers with the changed files.

browser-sync reload --port 4000 --files="*.css"
Reload over http protocol with port.

For more information, see:

934 questions
10
votes
1 answer

BrowserSync with analytics scripts causing errors

We have Google Analytics and Azure Application Insights analytics scripts in our HTML, including Google Analytics. They are in