{"version":"2.1.330","anchor":"worktree-with-tmux-refactored-mod-made-copies-supported","canonical_anchor":"worktree-with-tmux-refactored-mod-made-copies-supported","heading":"--tmux launch reworked, with new checks and support for mod-made worktree copies","tier":"notice","area":"Worktrees","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/worktree-with-tmux-refactored-mod-made-copies-supported","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### --tmux launch reworked, with new checks and support for mod-made worktree copies\n\nStarting with `--tmux` now runs an isolation check, rejects subcommands, rewrites `--tmux=classic`, and passes `--worktree=` for mod-made copies\n\n**What**\n\n`--worktree` starts Claude Code in a git worktree, which is a separate working copy of your repository. `--tmux` opens a tmux session (a terminal window that keeps running in the background) for that worktree. This release changes how that launch works:\n\n- Creating the worktree and setting up the tmux session are now two separate steps instead of one.\n\n- `--tmux` combined with a subcommand is now refused with a \"can't be combined with\" error. Before, only `--desktop` was checked against subcommands.\n\n- Worktree copies made by a mod now pass `--worktree=<name>` into the tmux session.\n\n- Startup runs a new tmux check for mod isolation before its early launch handling.\n\n- `--tmux=classic` is rewritten to `--tmux` at that point.\n\n**Why**\n\nIf you run `--tmux` together with a subcommand, you now get an error instead of the command going ahead. The other changes prepare the tmux launch to work with worktree copies made by a mod.\n\n- Area: Worktrees\n- Names: `--tmux`, `--worktree`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}