R
R
retyui2016-07-28 16:21:59
Node.js
retyui, 2016-07-28 16:21:59

Browsersync - how to get the url of the open page in the browser?

Can somehow with the help of sockets you can get what you want?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Вячеслав Лебедев, 2016-07-28
@slavikse

По умолчанию на localhost:3000.
Для туннеля в веб (в консольке выдаст uri) нужно добавить в конфиг к BrowserSync:

bs.init({
    tunnel: true
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question