-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Gulp tasks finish but the process never exits. #903
Comments
Post the whole gulpfile, not just the task please. |
https://github.com/philipwalton/solved-by-flexbox/blob/master/gulpfile.js Which doesn't include the |
I haven't seen that myself but someone on StackOverflow had the same problem couple of months ago. I got the impression that something non-gulp related was going on because I couldn't reproduce it at all. |
SO questions I was talking about:
@philipwalton Does your reduced test case gulpfile include only this:
|
Okay, I found the culprit. Upgrading nunjucks from 1.1.0 to 1.2.0 was causing the problem. I'll file a bug with them. |
Yep. The culprit is always a library that is keeping an extra handle open. I've run into this with database drivers and libraries that implement their own watching mechanisms. Glad you tracked it down. |
Just to let you know, I ran into a similar issue with nunjucks. If you are using nujucks.configure, make sure you add
|
☝️ Just did the same thing with nunjucks. Thanks @troch for the reminder! |
Came back here for #903 (comment) Thanks. |
Please use emoji reactions 🎉 instead of leaving a comment and sending notifications (and emails ✉️😰), thank you! ✌️ |
As of about two days ago, my gulp tasks are finishing but the process is not exiting. I've tried narrowing down what changed between before and now, but nothing I try can get me back to the original working behavior.
I first noticed this after upgrading to 3.8.11, but I've since downgraded and the problem persists. I tried on a different computer that had the same repo checked out and it worked fine. Then after running
npm install
and upgrading all packages, I get the same issue. Again, I've tried downgrading and attempting to get back to the working behavior, but I can't seem to no matter what I try.As a reduced test case, I created the following task:
I then ran
gulp noop
with the following output:But the process never exits. Has anyone else experienced this?
I'm not sure if it matters, but I'm running iojs v1.2.0 and gulp v3.8.11. I've tried using node v0.10.29 and gulp v3.8.10 (which was working the other day), but it still doesn't work.
The text was updated successfully, but these errors were encountered: