{"version":"2.1.248","anchor":"hook-results-say-when-the-hook-was-backgrounded","canonical_anchor":"hook-results-say-when-the-hook-was-backgrounded","heading":"Hook results say when the hook was backgrounded","tier":"notice","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/hook-results-say-when-the-hook-was-backgrounded","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Hook results say when the hook was backgrounded\n\nA hook left running in the background is now flagged as backgrounded instead of looking finished.\n\n**What**\n\nA hook that is detected as async and allowed to keep running now reports `backgrounded: true` alongside its stdout, stderr and exit status, so a hook left running is distinguishable from one that finished.\n\n**Details**\n\n- When sync execution is forced, the hook is waited on to completion instead and logs that it is doing so.\n\n**Evidence**\n\n`Hooks: Detected async hook but forceSyncExecution is true, waiting for completion`\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}