This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Only partial data sent to process.stdout when output reaches a certain size #1823
Labels
Comments
I'm not sure if this is any use, but |
My gut feeling is that this is probably either the max size of the node
buffer, and the C sass string data type.
We'll need to do some investigation.
…On 8 Dec 2016 12:51 AM, "Alex Prokop" ***@***.***> wrote:
I'm not sure if this is any use, but if I output the partial string to
file rather than logging to console the filesize is 65,536 bytes
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1823 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjZWG9EloRqvhK45O1_PXVOX5ZRgeMVks5rFrnfgaJpZM4LGjqD>
.
|
I ran into this issue a few days ago. Downgraded to 3.8.0 to eliminate the blockage, looked like it was related to a node.js change to no longer flush output buffers on exit unless explicitly told to. I was also able to workaround this by inserting this snippet into the package as a local mod:
|
There were two separate issues in play. Firstly This has been fixed #1834. |
For anyone who is looking, this was shipped in v4.1.0 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When piping output to another script, if the compiled code is over a certain length then only the first chunk appears to be sent. From the command line all seems fine:
But when piping to another node script, the output is cut off:
Where scripts/test.js is the following:
The text was updated successfully, but these errors were encountered: