Testing gallinago with process.on('exit') based on doing some more reading on the difference between close and exit`
So, if you are only interested in the process termination (e.g. because the process holds an exclusive resource), listening for "exit" is sufficient. If you don't care about the program, and only about its input and/or output, use the "close" event.
TODO
[ ] Expecting the first build to fail, then seeing if change gallinago
[ ] If it works, will need to upstream this change to gallinago
Related Issue
resolves #1070
Summary of Changes
process.on('exit')
based on doing some more reading on the difference betweenclose
and exit`TODO