microsoft / vscode-npm-scripts

VSCode extension for running npm-scripts and validating the package.json files.
MIT License
215 stars 54 forks source link

npm Terminate, never kills the process #50

Closed ayyash closed 2 years ago

ayyash commented 6 years ago

When I run > npm from vscode as a task, then use > npm: Terminate, the output message: Killing process npm start (pid: xxxx)

And it's stuck forever, the task is never killed, until I restart vscode. This has been happening for a very long time (over a year). My current vscode version:

Version 1.20.0-insider Commit b36655544f413f67aec02d64ce619d165749b957 Date 2018-01-15T05:14:00.163Z Shell 1.7.9 Renderer 58.0.3029.110 Node 7.9.0 Architecture x64

image

egamma commented 6 years ago

@ayyash this statement is not clear to me:

When I run > npm from vscode as a task

How do you exactly start the npm script using ´Tasks>Run Tasks´ or ´npm: start´, ´npm: Run Script´ ?

ayyash commented 6 years ago

using > npm: Run Script

dmaglio commented 6 years ago

same issue for me with vsocde 1.21.1 and fedora 27 or windows 7

thecristen commented 6 years ago

I noticed this too, with npm start. vscode 1.22.2 on MacOS 10.13.4

kovyazin commented 4 years ago

I have too this problem, run script using "Run script"

egamma commented 2 years ago

The npm script running support has been replaced in favor of the npm script running provided by the VS Code core out of the box, pls see https://code.visualstudio.com/docs/editor/tasks#_task-autodetection