File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
tests/legacy-cli/e2e/tests/build Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { setTimeout } from 'node:timers/promises';
22import { getGlobalVariable } from '../../utils/env' ;
33import { appendToFile , createDir , rimraf } from '../../utils/fs' ;
44import { installWorkspacePackages } from '../../utils/packages' ;
5- import { ng , waitForAnyProcessOutputToMatch } from '../../utils/process' ;
5+ import { killAllProcesses , ng , waitForAnyProcessOutputToMatch } from '../../utils/process' ;
66import { ngServe , updateJsonFile , useSha } from '../../utils/project' ;
77
88const goodRegEx = getGlobalVariable ( 'argv' ) [ 'esbuild' ]
@@ -52,5 +52,7 @@ export default async function () {
5252 await waitForAnyProcessOutputToMatch ( goodRegEx ) ;
5353 } finally {
5454 process . chdir ( originalCwd ) ;
55+ await killAllProcesses ( ) ;
56+ await setTimeout ( 100 ) ;
5557 }
5658}
You can’t perform that action at this time.
0 commit comments