-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Set a command like:
module.exports = {
command: 'npm run start',
launchTimeout: 1000,
}
If the timeout occurs, you get this message:
Server has taken more than 1000ms to start.
The problem here is that jest-process-manager
then never sends the proper signals to the processes started by the command
, meaning they get hanging. As a comparison, pressing ctrl+c
after the server has started properly cleans up the resources.
To Reproduce
Add the above config and a very short launchTimeout and notice how the started command
never stops (check e.g. via the ps
command).
Expected behavior
jest-process-manager
should send the proper signals to launched command
, even after a launchTimeout
occured.
corey-aloia and aydenden
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request