Ask coding questions

← Back to all posts
Check if repl is being edited

is there a way to check if my file is currently being edited? Because I have a background process but I want it to stop when I am editing the file. My file is in python btw.

Bookie0 (5975)

If the repl is a multiplayer repl you can see their cursor currently edit stuff. You can also check the history to see what was edited


if it is a multiplayer, then sure, you can check if it's being edited. I'm not sure about single. If you were editing it, you would know.