hawx / guard-sass

Guard::Sass automatically rebuilds sass files when modified (like sass --watch)
MIT License
88 stars 35 forks source link

Consider adding Guard callbacks for easier integration with other tools #53

Closed alexdunae closed 8 years ago

alexdunae commented 10 years ago

Wondering if there's any interest in adding Guard callbacks to run_all.

I'd like to be able to post-process the CSS output with autoprefixer, and it seems like a callback here that exposed [changed_files, success] would be the perfect place.

Let me know what you think, or if there's a better way. I'm happy to open a pull request.

alexdunae commented 10 years ago

I created this in a fork showing a sample use case: https://gist.github.com/alexdunae/c6ec418fb166fdebc42b

hawx commented 10 years ago

Sounds good, open that pull request

alexdunae commented 10 years ago

Here we go: https://github.com/hawx/guard-sass/pull/54