> The way to solve for this is to have them work on two different worktrees with separate environments, ports
What are you using for the environment part? Containers?