A
A
A person from Kazakhstan2018-04-21 11:26:05
npm
A person from Kazakhstan, 2018-04-21 11:26:05

How to solve the problem with browser-sync?

Browser-sync stopped working , this is expressed in the fact that devices in the same wifi network do not connect until recently, it worked .. I don’t know the reason for the breakdown.
I re-read a bunch of information in google yandex, where they wrote that the main problem is due to the Windows Firewall and also mentioned that if a window does not appear asking for permission for node.js to work, then something needs to be done, but this window appears for me and I allow the work ... works locally, but the devices do not connect
How can I fix the situation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Sevirinov, 2018-04-21
@LenovoId

Try using tunnel
Or like this:

browserSync.init({
  proxy: 'http://myproject.dev/',
  host: 'myproject.dev',
  open: 'external'
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question