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

Please consider making a plugin for Guard #19

Closed
renanveroneze opened this issue Jun 7, 2013 · 11 comments
Closed

Please consider making a plugin for Guard #19

renanveroneze opened this issue Jun 7, 2013 · 11 comments

Comments

@renanveroneze
Copy link

I love the Guard and I love ImageOptim.
Would be perfect to join them.

https://github.com/guard/guard

@JamieMason
Copy link
Owner

Great idea @renanveroneze, never thought of that.

My Ruby is pretty novice (maybe @joshnesbitt has time to help me out?) but I'll take a look in the coming weeks.

Acceptance criteria is presumably;

  • Have Guard watch imageOptim --directory /this/folder/here
  • When Guard broadcasts that a file has changed in that folder, have ImageOptim-CLI process just that file.

@joshnesbitt
Copy link

Sounds easy enough. I'm about to go on Holiday but if you want we could have a crack at it when I'm back @JamieMason?

@JamieMason
Copy link
Owner

Great, cheers @joshnesbitt have a good holiday.

@joshnesbitt
Copy link

NP. For reference here's how to do it.

@JamieMason
Copy link
Owner

Hey @renanveroneze, you might not need our project for this - does the article Using ImageOptim with guard-shell give you what you need?

Thanks Renan.

@joshnesbitt
Copy link

@JamieMason sorry just realised I didn't chase this up :) Looks like someone has beat me to it.

@renanveroneze
Copy link
Author

Hi guys, on the topic, I do not like the guard shell.
But this solves my problems.

@joshnesbitt
Copy link

@renanveroneze I think creating your own guard should still be relatively simple if that doesn't fit your needs.

@renanveroneze
Copy link
Author

Certainly, thanks @joshnesbitt and @JamieMason.

@rjocoleman
Copy link

Just a FYI. I made a quick guard: https://github.com/rjocoleman/guard-imageoptim

It's available on RubyGems so gem 'guard-imageoptim' can be added to Ruby app's Gemfile

@JamieMason
Copy link
Owner

Thanks a lot @rjocoleman, that's sweet! Hopefully this will be just what @renanveroneze was looking for.

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

4 participants