Closed ramialkheshan closed 5 months ago
I've replied in the other thread, you just need to look at the description of --success
.
Basically, --kill-others
will, well, kill the pending processes. Unless they handle the SIGTERM
signal (SIGKILL
can't be handled), you need to change from --success all
to some other value to pick which other process(es) you want the success result to come from.
You can't have --success all
when one of your processes is exiting with code 1.
I've replied in the other thread, you just need to look at the description of
--success
.Basically,
--kill-others
will, well, kill the pending processes. Unless they handle theSIGTERM
signal (SIGKILL
can't be handled), you need to change from--success all
to some other value to pick which other process(es) you want the success result to come from. You can't have--success all
when one of your processes is exiting with code 1.
I have tried, but still have exited code 1 again
...and what did you try?
Hello! I have the next problem and this is my steps for reproduce: 1) I have main package.json where
2) On my another package.json on test project I have this:
3) In file ./src/scripts/runNgServeForTests.ts I have next code:
And After running command /npm run test:integration
I got next result in my terminal
By the way I have tested without --kill-signal SIGKILL and result was the same
Could you help me understand how I can close ng serve process with exited code 0 ?
I was using --success flag with value all, but still have a issue