ProjectEvergreen / greenwood

Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back.
https://www.greenwoodjs.io
MIT License
96 stars 9 forks source link

upgrade to gallinago with handling for process on exit #1075

Closed thescientist13 closed 1 year ago

thescientist13 commented 1 year ago

Related Issue

resolves #1070

Summary of Changes

  1. 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

  1. [ ] Expecting the first build to fail, then seeing if change gallinago
  2. [ ] If it works, will need to upstream this change to gallinago