Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop Yarn Package Manager script from CLI

https://yarnpkg.com/en/docs/cli/

Is there a way to stop what is started from the command "yarn run"? Is my only option to lookup the process number and call kill on it?

like image 812
smuggledPancakes Avatar asked Aug 21 '17 15:08

smuggledPancakes


1 Answers

The usual way ctrl-c should work. If it doesn't work, than you have bug in the script. The script's author missed handler for shutdown (SIGINT/SIGTERM/etc).

like image 65
galkin Avatar answered Oct 19 '22 22:10

galkin