This repository has been archived by the owner on Jul 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Gulp task times out #38
Comments
Having the same issue using: NodeJS: 4.4.7 |
Using [email protected] with gulp @3.9.1 & [email protected] will not have the lag. I think it is an issue with the latest version. |
Just have encountered the same problem. But I've noticed, that mine happens only if my tested files logs something in browser (Phantomjs) console. If it don't everything works like a charm. So as a workaround for this problem you can try to switch off capturing browser logs in your karma.conf: |
No updates here? Takes ages for my karma instance to finally exit. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I implement the karma-runner as simply as I can with a console.log in there:
And I run it, the task says:
So that's all good and dandy! However, gulp itself doesn't return me to the prompt. That on its turn, takes another 2 full minutes.
This task is the only one suffering from this problem. I've written others, and they all finish instantly after gulp's
Finished
message. I've also tried returning a promise, but the result is the same. I've also tried returning the server (return new karma.Server...
) to no avail.Now sure, I can hit Ctrl+C after the task is finished, but this is going to be running in a CI environment, and I don't want to hog the build runners there. My coworkers won't be happy with that :)
So it'd be nice to solve this problem.
Some versions used:
The text was updated successfully, but these errors were encountered: