yarn tasks stop — Yarn CLI reference
Stop a running long-lived task
Docs/Reference/CLI/tasks/stop
yarn tasks stop
Stop a running long-lived task
yarn tasks stop <NAME>
This command stops a long-lived task that is currently running in the background. The task will be terminated and its status will be set to “stopped”.
Use yarn tasks to see the names of running tasks that can be stopped. This includes the tasks removed from their taskfile since they started: editing a taskfile never stops a running task.
Examples#
Stop the server long-lived task
yarn tasks stop server