Skip to content

Commit

Permalink
fix(angular): kill ports correctly (#10142)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed May 4, 2022
1 parent aa36064 commit 1d3beca
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -108,7 +108,7 @@ export function moduleFederationDevServer(
}

// Cleanup ports on kill
process.on('kill', () => {
process.on('exit', () => {
remotePorts.forEach((port) => killPort(port));
});

Expand Down

0 comments on commit 1d3beca

Please sign in to comment.