fix(angular): kill ports correctly (#10142)
This commit is contained in:
parent
aa360645ab
commit
1d3becac90
@ -108,7 +108,7 @@ export function moduleFederationDevServer(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Cleanup ports on kill
|
// Cleanup ports on kill
|
||||||
process.on('kill', () => {
|
process.on('exit', () => {
|
||||||
remotePorts.forEach((port) => killPort(port));
|
remotePorts.forEach((port) => killPort(port));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user