{"version":"2.1.281","anchor":"self-restart-carries-additional-working-directories","canonical_anchor":"self-restart-carries-additional-working-directories","heading":"Self-restart carries additional working directories","tier":"notice","area":"Sessions","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/self-restart-carries-additional-working-directories","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Self-restart carries additional working directories\n\nDirectories added with --add-dir now survive when Claude Code restarts itself\n\n**What**\n\nWhen Claude Code restarts itself, the new process now receives the extra working directories from the old one. These are the directories added with `--add-dir`, the option that lets Claude read and edit files outside the folder you started in. They are passed through the new process's environment, meaning the settings a program inherits when it starts.\n\n**Why**\n\nAfter a restart, Claude keeps access to the same extra directories, so you do not have to add them again.\n\n- Area: Sessions\n- Names: `--add-dir`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}