Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --listen-on option a la guard --listen-on to better support VMs #10

Open
winni2k opened this issue Mar 18, 2016 · 1 comment
Open

Comments

@winni2k
Copy link

winni2k commented Mar 18, 2016

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?

@e2
Copy link
Contributor

e2 commented Mar 18, 2016

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:

  1. Mount a folder within the VM on the host. (e.g. using Samba if your host is Windows)
  2. 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants