-
Notifications
You must be signed in to change notification settings - Fork 1
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
Doesn't seem to finish running the task if the src directory is empty #2
Comments
Hey Tyler, thanks for reporting. Can you please post your gulpfile so I can have a look into it. I tried with an empty src dir with a test gulpfile and it seems to work fine. |
Huh, that's interesting. It might be something else then. Here's my gulpfile, (sorry for the lack of comments at the moment) if I run the Thanks for taking a look. |
Mh, i did
By the way ... you could use node-bourbon and node-neat and then in your styles task do something like:
So you don't need to init bourbon and neat in |
Maybe there is a mismatch with the local and global gulp version?
|
Huh, when you run just The I have both 3.5.2 CLI and local as well. I'll keep playing around with it, see if I can get something more specific pinpointed. Thanks again for taking a look, and for the bourbon/neat tip, didn't know about that. |
I did a bit more research and could find some things:
|
I have this set up in a "boilerplate" gulpfile for when I occasionally use sprite images. Occasionally being my keyword here, often times, I won't ever actually be using the sprite task.
However, I'd still like my watch task to watch the directory, just in case. But if the src directory doesn't have any images to turn into a sprite, it looks like it's not finishing and more or less killing the watch task, making it so my other tasks in watch never fire.
If there are images in the src directory, it generates fine and the rest of the watch tasks fire fine. It really just seems to be if there's nothing for the sprite task to do.
The text was updated successfully, but these errors were encountered: