You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is great Eric! Thanks so much for helping out. I'd think the best plan might be to try the later versions of Guard, and if that doesn't work, we could maybe add this patch.
Would you mind sending me an email (dstrojny at jestro.com)? I'd love to chat more about Forge with you.
When Guard is run on some VM's (e.g.: Vagrant with VirtualBox), the Listen gem will only pick up filesystem changes if polling is forced.
Here's the bug report for Listen: guard/listen#57
It's possible this might be fixed in later versions of Guard/Listen, but Forge is on ~> 1.3.0 right now.
While looking for a workaround, I found that
::Forge::Guard::start
accepts options, but doesn't seem to pass any arguments to::Guard.start
.So, the best I could come up with was this monkeypatch, which forces polling when included in
config.rb
:With this code pasted into
config.rb
, I can runforge watch
on a Vagrant and see changes trigger a (slightly-delayed) reload.The text was updated successfully, but these errors were encountered: