Hey, thanks for the report. This is a known issue with file watchers after git operations. I’ve seen similar cases here.
Try these steps to debug it:
Quick workaround:
CMD+Shift+P> “Developer: Reload Window” after switching branches- Or just close and reopen the file
To diagnose the root cause:
-
Launch Cursor with extensions disabled: run
cursor --disable-extensionsin a terminal, then try to reproduce the issue. If it goes away, it’s likely a conflict with an extension. -
Open the Console (
Help > Toggle Developer Tools> Console tab), switch branches, and check if there are any errors. -
Try switching branches using Cursor’s built-in Source Control panel instead of the terminal. Does it still happen?
Can you share what you find? I’m especially interested in the first one, does this still happen with extensions disabled.