EEParker / aspnetcore-vueclimiddleware

Helpers for building single-page applications on ASP.NET MVC Core using Vue Cli or Quasar Cli.
Other
339 stars 65 forks source link

Kill child npm task when debugging stops or process exits using Windows Job Objects. #150

Open BinarySpike opened 2 years ago

BinarySpike commented 2 years ago

I found a way to kill the child task when you stop debugging by associating the npmScriptRunner with a Job Object. I've successfully tested this closes the process tree when stopping debugging in both vscode and Visual Studio 2022.

This is a Windows only modification.