This repository was archived by the owner on Aug 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Buffer limit reached #19
Comments
Switching to spawn sounds good. You can use the |
It would be nice if we could find a way to pipe each test response from AVA through line-by-line back out through |
You can easily do that. Just pipe the process.stdout to https://github.com/maxogden/binary-split to ensure it splits on newlines, then just listen to the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using execFile to execute test,
That is the error I get when console.logging the stderr.
I suggest to use spawn instead of execFile , because of the bufferLimitation of exec vs spawn.
There is still a bug in spawn buffer, in the case where the output is not captured, which is not our case : nodejs/node#4236
I will probably give you a PR for this fix.
Good job btw :)
The text was updated successfully, but these errors were encountered: