{"version":"2.1.227","anchor":"deleting-a-background-job-keeps-a-directory-a-live-session-i","canonical_anchor":"deleting-a-background-job-keeps-a-directory-a-live-session-i","heading":"Deleting a background job keeps a directory a live session is sitting in","tier":"notice","area":"Background Jobs","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227\/e\/deleting-a-background-job-keeps-a-directory-a-live-session-i","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227","markdown":"### Deleting a background job keeps a directory a live session is sitting in\n\nDeleting a background job won't delete a directory another live session is using.\n\n**What**\n\nJob deletion now reports an \"occupied\" outcome instead of removing the worktree when it is the working directory of a live process. The message distinguishes a session you backgrounded from this window, a background session with a job id, and a bare process id and kind.\n\n**Evidence**\n\n`deleteJob: ${c} is the working directory of a live session (pid ${m.pid}, ${m.kind})`\n\n- Area: Background Jobs\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 2\/5"}