-
Notifications
You must be signed in to change notification settings - Fork 338
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
Process only new/changed files #57
Comments
👍 Makes sense. I'll definitely look into it. |
@leemunroe I found Also note that I removed |
The more I think about this, it’s not going to work well. First run
Subsequent runs
Without an intermediate location to save |
@macbookandrew Did you ever find a good solution for this? |
@leemunroe Not really; I ended up modifying the
|
This is definitely a complicated. I think there's some refactoring/options to watch that can make this better and faster.
Taking it a step further, it's possible to incorporate something like the following that would process only a subset of
|
@taeo I like the idea. Unfortunately I’m not fluent enough with gulp to build those changes without taking a whole day to do it 😄 |
No worries. I'll give this a spin when I have a second. I'm currently trying to wrap up #87 if you have any opinions or desire to help test that out. |
Hey @macbookandrew I just pushed up a fork on my branch for build times and options. It addresses build times as well as watch related options. It's not "automagic" unfortunately, but here's a use case that would only watch for and process:
Additional grunt option
Let me know if you're willing to give the branch a spin and provide any thoughts, feedback, or questions. |
@taeo Sweet. Give it a good test and works a treat! 🎉 |
Solid. Thanks for testing! There's a little tidying up and README updates to make. Other than that, should we give it a little time and prompt a few more people to test, or just go PR and done? |
Maybe give it a few more days in case @macbookandrew has time to try it out. Curious if it solves his problem. But it LGTM to PR. |
@leemunroe @taeo Thanks! I just got back from vacation. Hopefully I can test this out in the next few days, but don’t hold it just on my account. |
@macbookandrew - welcome back! Hope you had a good vacay. No rush here. Would love to have input + further testing to see if it meets your needs and is easy enough to use this way. |
Closing based on forthcoming PR from feature/build-times-and-options |
Is it possible to run the tasks only on new/modified files? I currently have 10 emails in my
src/emails
folder, and it takes ~30 seconds to run all the tasks on every file.I toyed around with http://grunt-tasks.com/grunt-newer/ and prepending
newer:
to the default tasks in aliases.yml, but it didn’t seem to make any difference.Any ideas?
Thanks for the workflow!
The text was updated successfully, but these errors were encountered: