-
Notifications
You must be signed in to change notification settings - Fork 272
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
Imagemin Infinite Loop #300
Comments
Same here... I can confirm the issue. |
@garrett-eclipse good thought but didn't work. Tried the PR @ #303 with no luck. The only thing I've gotten to work thus far is around line 60 changing, |
Reading into some articles you're right we'll probably need to separate the source from the destination or we'll always have an infinite loop. So as you mentioned setting up the /src directory inside assets/images and then having that be the SOURCE on line 60 is the right approach to avoid this. |
I've put together PR #304 to resolve this issue. Cheers |
Has this been resolved, I still have this issue? |
Dunno. I make pizza now, not websites. Thank god. Good luck.
…On Wed, Apr 4, 2018 at 12:11 johnw6761 ***@***.***> wrote:
Has this been resolved, I still have this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#300 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA3AKdi89S_Yn2YvEErwJzSYHqo36rwsks5tlP65gaJpZM4Q-HpQ>
.
|
I'll work on getting this merged this weekend. But @donaldG's comment may be the funniest thing I've read all day. |
Sorry I've been tied up for a bit, I've merged this into core @johnw6761 please pull the latest and let me know if you have any conflicts, the main change there was migrating images into a segregated src child folder so make sure any custom images are at that level to be optimized. |
If I remove an image from the /assets/images/ directory while
gulp watch
is running then the imagemin task gets stuck in an infinite loop. Wondering if there just needs to be a separate raw/distro directory for images? I know that creates some duplication but not sure what else is going on with that task. My best guess is the task is modifying the directory, it's also watching the directory for changes, so then it gets stuck: watching, modifying, watching, etc...The text was updated successfully, but these errors were encountered: