The static pages detected by browsersync can only be named index.html, and demo.html cannot be used for real-time synchronization. When detecting dynamic pages, such as in a wamp environment, browsersync can be used to open the page, but synchronization cannot be achieved
Command for static pages (directory switch to the directory where the file is located)
browser-sync start --server --files "*.html" (can only be named with index.html, use demo.html Real-time synchronization is not possible)
The command used in the wamp environment is
rowser-sync start --proxy "test.com" "test/*.html"
May I ask the teacher, what is the reason, thank you