watson/chart-stream

Node 8 Support

Opened this issue · 3 comments

After a client disconnects, I'm getting:

Error: write after end

Do you have a stack trace?

Sorry I've had trouble debugging this, starting with an error with opn on my server. Also I was a little confused by the hyperbel.js example that seems to run only briefly and then the process ends, instead of keeping the web server open. I'm not sure if server.unref() is necessary?

In regards to the issue with clients disconnecting, I think this workaround pump worked:
comster@075b62f

I was thinking node version because streams API or something, but idk.

examples/hyperbel.js is supposed to exit once after it's done plotting.

Could you show me how you're using the API?