spring-watcher-listen
spring-watcher-listen copied to clipboard
Add --listen-on option a la guard --listen-on to better support VMs
I may be confused about how spring works, but I would like to be able to tell spring to listen to listen
via a network address like guard does when I run bundle exec guard -o 10.0.2.2:4000
inside a VM.
Is this possible already and I'm just too dense to figure it out?
I'm guessing you are mounting a shared folder (on the host) inside a VM.
It's a huge amount of work to make everyone happy in the area of VMs. I actually dropped TCP support in Listen since 3.x because of this.
I'd consider the opposite of what you're doing:
- Mount a folder within the VM on the host. (e.g. using Samba if your host is Windows)
- Install all your development tools within the VM
If neither is an option for you, you have to have an incredibly strong reason why.
It really depends on what you're doing, so you have to be very, very specific.
Otherwise, you'll likely be disappointed anyway (no matter how much work I do to help you).