Answer the question
In order to leave comments, you need to log in
Browser-Sync proxy does not restart the browser. What is the reason?
Good afternoon!
Faced such a problem. When executing the command in the terminal while in the project directory
browser-sync start --proxy "kanctovar" --files "*.php"
opens the link in the browser and outputs:
[BS] Proxying: kanctovar
[BS] Access URLs:
---- -----------------------------------
Local: localhost:3000
External: 192.168.217.60:3000
--- ------------------------------------
UI: localhost:3001
UI External: 192.168.217.60:3001
- --------------------------------------
[BS] Watching files...
[BS] File changed: index.php
[BS] File changed: index.php
All changes made to the file are committed.
The problem is that changes made to index.php are not displayed in the browser at http://localhost:3000. Tried to open in several browsers, but the reload does not occur.
browser-sync has been installed globally.
Already tried uninstalling it and reinstalling it.
It worked fine before.
Visual settings open ( localhost:3001 ) I
use apache2
Please tell me why bowser-sync does not update the browser and how can I fix it?
Thanks in advance.
PS Googled but didn't find anything.
Answer the question
In order to leave comments, you need to log in
There was the same problem. Nothing reloaded, although -Reloaded was written in the console.
The problem was disgustingly simple in my case - accidentally deleted the tag
Answer found in localhost:3001/help
Why isn't Browsersync connecting with my project?
99% of the time, it's because your web page doesn't have a body tag. In order for Browsersync to connect properly the body tag must be present in your website (we add a script tag just after it).
I put it back - lo and behold, everything worked.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question