Answer the question
In order to leave comments, you need to log in
How to set up browser-sync in Vagrant + VVV?
Good afternoon. Deployed Vagrant with VVV ( Varying-Vagrant-Vagrants )
to work with WordPress sites . I also installed the VV site creation wizard .
For example, I have a WordPress site test.dev . I can open it through a browser on a computer (OS X Mavericks).
Now I want to set it up so that this site can be opened on a tablet and smartphone that are connected to the same WiFi network as the computer.
I was advised to use browser-sync . Performed the installation on a Vagrant virtual machine. Run browser-sync with the command:
browser-sync start --proxy "test.dev" --files "css/*.c
----------------------------------
Local: http://localhost:3000
External: http://10.0.2.15:3000
----------------------------------
UI: http://localhost:3001
UI External: http://10.0.2.15:3001
----------------------------------
Answer the question
In order to leave comments, you need to log in
Tell me how to properly configure the ability to open sites locally on other devices connected to the same WiFi, preferably inside Vagrant.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question