Terminal tabs are closed (and their processes killed) when switching projects

Hi @rognierbenoit, this is a known issue in the Agents Window, and I’ve added your report to it.

When you leave a project and nothing in the window is still using it, Cursor unloads that project in the background. Its terminals get detached, and if they aren’t picked up again within about a minute they are shut down, along with whatever was running in them.

For now, for the processes you want your agents to read, start them in tmux or in an external terminal, and send the output to a log file in the project, for example npm run dev 2>&1 | tee dev.log. They’ll survive project switches, and the agents can read the file.

One thing that would help us: if you switch back to project A within about 30 seconds, are the terminals still there?