mapbox/node-mbtiles — pull request #23 by YenTheFirst (2013-01-31 23:53:07+00:00)
Title: wait for 'close' event instead of 'exit' for children of mbpipe

This way, it waits for all the actual data from a child process, not
just when the child closes.

when using mbpipe in practice, I tend to run into issues where some tiles in the modified dataset are empty. This solves that issue.

may be related to https://github.com/mapbox/node-mbtiles/issues/9