rsnext/test/lib
Jamie 397a375b37
Ensure next commands respect termination signals (#19433)
Fixes #16173

## What

Restores handling of termination signals, `SIGTERM` and `SIGINT`, to allow graceful termination of next commands. Seems to have been removed during a child process refactor #6450, was this intentional?

## Why 

Currently the command processes have to be forcefully killed. This would help those using Next.js with custom servers and tools like Docker and Kubernetes that rely on termination signals to shutdown instances.

---

Where would be a good location to add some tests? [test/integration/cli/test/index.test.js](fc98c13a2e/test/integration/cli/test/index.test.js)?
2020-11-25 13:30:06 +00:00
..
amp-test-utils.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
flat-map-polyfill.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
next-test-utils.js Ensure next commands respect termination signals (#19433) 2020-11-25 13:30:06 +00:00
next-webdriver.d.ts Add layout prop to Image component (#18491) 2020-10-30 10:33:34 -04:00
next-webdriver.js Ensure redirects are handled properly from cache (#18806) 2020-11-04 22:18:44 +00:00
wd-chain.js Add layout prop to Image component (#18491) 2020-10-30 10:33:34 -04:00