Switched from one branch of cocalc to another and edited the file packages/next/pages/index.tsx
Saved everything, then switched to another branch that has index.tsx in it.
CoCalc popped up a message closing index.tsx and saying it was "deleted".
Indeed, when switching branches, the file maybe was deleted by git for a fraction of a second. But then a new version was created (before I edited it).
The code that listens for file deletions I thought had some sort of tolerance for the file being deleted and recreated in a millisecond, but evidently it doesn't. I should fix that.
I just did this:
The code that listens for file deletions I thought had some sort of tolerance for the file being deleted and recreated in a millisecond, but evidently it doesn't. I should fix that.