{"version":"2.1.327","anchor":"filechangedcwdchanged-hook-failures-reported-via-a-shared-h","canonical_anchor":"filechangedcwdchanged-hook-failures-reported-via-a-shared-h","heading":"File and folder change hook failures are reported differently","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/filechangedcwdchanged-hook-failures-reported-via-a-shared-h","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### File and folder change hook failures are reported differently\n\nFailures from `FileChanged` and `CwdChanged` hooks now go through the same reporting path as other hooks\n\n**Unclear.** How these hook failures now appear on screen is not stated.\n\n**What**\n\nA hook is a command you set up to run automatically when something happens. The `FileChanged` hook runs when a watched file changes on disk, and the `CwdChanged` hook runs when the working folder changes. Their results, including failures such as \"FileChanged hook failed:\", now go through the same reporting path other hooks use, instead of a separate one.\n\n**Why**\n\nYou may see errors from these hooks shown in a different place or form.\n\n- Area: Hooks\n- Names: `FileChanged`, `CwdChanged`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}