Skip to content

Conversation

RobinDaugherty
Copy link

@RobinDaugherty RobinDaugherty commented Feb 19, 2021

Some platforms (notably years-broken Docker Desktop) don't reliably notify of file modifications. It's caused a problem that guard-rspec is one of the few guards that does not run on file additions.

I haven't been able to find a reason that guard-rspec doesn't run on additions. In #391 it's discussed without any detractors.

There seems to be no downside to running on both file additions as well as modifications. For those running on macOS with Docker Desktop and listener, it seems to be necessary.


A workaround I've seen is adding the following to the Guardfile: Guard::RSpec.class_eval { alias_method :run_on_additions, :run_on_modifications }
But I would rather not continue to have to work around this shortcoming, especially when the fix seems to have no downside.

@RobinDaugherty RobinDaugherty force-pushed the feature/run-on-additions branch from 76f3565 to 3e3e1c4 Compare February 19, 2021 20:15
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

Successfully merging this pull request may close these issues.

2 participants