File save is not complete when the promise is resolved
Closed this issue · 3 comments
AharonDror commented
I'm using chartNode.writeImageToFile
When the promise is resolved the file does exist, but with size 0.
After less than 1 second the file is actually written (not sure exactly how long, but sleep for 1 sec works for me)
sedouard commented
Hey @AharonDror. This seems like an already fixed issue (see PR #23). Can you tell me which version of chartjs-node
you installed?
AharonDror commented
Using 1.4.1
AharonDror commented
Just saw that this is fixed in latest master, but not in a release version.
Thanks for an awesome module, can close this issue.