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
Feature proposal: l or last for last command #814
Comments
Could you give a specific example of what you'd like? I'm not sure what you mean by "command". |
If I understand it right, I've thought about this feature too: When at the Guard prompt, the user would like Guard to repeat the previous test run. Similar to vim's |
@sunkibaek is this what you're thinking? |
@dogweather |
If there was a command like that, it would work like the existing So, basically, Guard would have to remember the last set of changes, but ... ... "last set of changes" is ambiguous. Some commands cause a chain reaction. E.g. So the "last command" would be Guard doesn't know why a file was changed (user or by an existing Guard task). It would be probably easier to create a custom Pry command that touches the last updated file in a given directory (e.g. lib or spec or whatever). |
Interesting, so you're saying that Guard is used as an asset processor? Makes sense. I've only ever used it to run tests, e.g. So it seems like this might be something that a 'testing' extension should implement. |
@dogweather Exactly!
Check-out the list of the existing Guard plugins, there are many plugins not testing-related: https://github.com/guard/guard/wiki/Guard-Plugins :) |
Hi
Thanks for the great program -- I use it everyday at work. It's a great productivity boost.
One things is though I would love to see it has following new command
That is because sometimes guard does not pick up the change I've made in file or I've made a change that guard is not watching but I would like to see the result of the same command.
I will also see if I can implement this feature myself.
Thanks!
The text was updated successfully, but these errors were encountered: