Coder Social home page Coder Social logo

Comments (11)

JamieMason avatar JamieMason commented on September 7, 2024

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.

from imageoptim-cli.

joshnesbitt avatar joshnesbitt commented on September 7, 2024

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?

from imageoptim-cli.

JamieMason avatar JamieMason commented on September 7, 2024

Great, cheers @joshnesbitt have a good holiday.

from imageoptim-cli.

joshnesbitt avatar joshnesbitt commented on September 7, 2024

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

from imageoptim-cli.

JamieMason avatar JamieMason commented on September 7, 2024

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.

from imageoptim-cli.

joshnesbitt avatar joshnesbitt commented on September 7, 2024

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

from imageoptim-cli.

renanveroneze avatar renanveroneze commented on September 7, 2024

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

from imageoptim-cli.

joshnesbitt avatar joshnesbitt commented on September 7, 2024

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

from imageoptim-cli.

renanveroneze avatar renanveroneze commented on September 7, 2024

Certainly, thanks @joshnesbitt and @JamieMason.

from imageoptim-cli.

rjocoleman avatar rjocoleman commented on September 7, 2024

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

from imageoptim-cli.

JamieMason avatar JamieMason commented on September 7, 2024

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

from imageoptim-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.