You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using an Angular wep application launched from a git bash terminal with ng serve.
When I want to exit the Angular web app with a Ctrl+C, the Angular @ngtools using tree-kill as a dependency send the following command treeKill(this._typeCheckerProcess.pid, 'SIGTERM') with the good pid. But tree-kill try to kill process by a taskkill command not recognized by git bash.
The issue is that it's the process.platform (here win32) which is identified and not the prompt.
Therefore, to resolve this issue, we have to identified git bash terminal and execute the following command exec('tskill' + pid) instead.
The text was updated successfully, but these errors were encountered:
Hi,
I'm using an Angular wep application launched from a git bash terminal with
ng serve
.When I want to exit the Angular web app with a Ctrl+C, the Angular @ngtools using tree-kill as a dependency send the following command
treeKill(this._typeCheckerProcess.pid, 'SIGTERM')
with the good pid. But tree-kill try to kill process by a taskkill command not recognized by git bash.The issue is that it's the process.platform (here win32) which is identified and not the prompt.
Therefore, to resolve this issue, we have to identified git bash terminal and execute the following command
exec('tskill' + pid)
instead.The text was updated successfully, but these errors were encountered: