Please how does browser sync works | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please how does browser sync works

How do I set up and use browser syncs, is it very important?

1st Dec 2020, 12:55 AM
HORLATECH
HORLATECH - avatar
1 Answer
+ 5
Refer to the official site for installation and usage guide: https://www.browsersync.io As the name suggests, it allows you to synchronize your browsers and server so that you can live-test your site during development. How it works: "First off, BrowserSync creates a small server, but if you already have a server setup, BrowserSync can hook into that server and act as a proxy. Next, it injects a javascript file on every page; This file makes use of WebSockets to communicate between the server and the client to watch changes to your code or browser action. As soon as BrowserSync detects an action it performs a page reload." Quote taken from here: https://scotch.io/tutorials/how-to-use-browsersync-for-faster-development#toc-how-does-browsersync-work-
1st Dec 2020, 4:55 AM
Kevin ★