Dug through the code. Found :chdir as a potential option. No luck. It still force-appends the spec dir at the end of the rspec command as if I always want to run the entire spec directory.
Yeah, I sometimes don't want to use focus: true because, well, it has to load the entire test suite anyway, and that adds like 5-10 seconds every run even with spring. I just want to run rspec spec/somedir over and over in guard. That would be sweet.
Even something like:
guard :rspec, cmd: 'bin/rspec', dirs: ARGV
or something like that would be awesome.
Dug through the code. Found
:chdiras a potential option. No luck. It still force-appends thespecdir at the end of the rspec command as if I always want to run the entire spec directory.Yeah, I sometimes don't want to use
focus: truebecause, well, it has to load the entire test suite anyway, and that adds like 5-10 seconds every run even with spring. I just want to runrspec spec/somedirover and over in guard. That would be sweet.Even something like:
or something like that would be awesome.