Summary of issues about Browser-sync (Web debugging on multiple devices)

Source: Internet
Author: User

Recently in the development video of the responsive web site, some of which are very useful, is to do Web debugging on multiple devices, through the use of browser-sync to achieve, specific steps can be referred to the official website (http://www.browsersync.cn/)

Follow the steps to do it, of course, the computer must be installed node. js, here I mainly say that I encountered the problem is that when debugging the Web page, I found that the listening Web page does not appear in the browser, there are the following two reasons:

1: When you start Browser-sync, you must enclose the file path and file you are monitoring in double quotation marks, and you cannot use single quotation marks.

2: You write your own HTML must be named "Index.html"

After making such a modification, you can access it normally, and debugging together can speed up the efficiency of our front-end development!

Summary of issues about Browser-sync (Web debugging on multiple devices)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.