File not saved, even though I see the latest script version

Problem description:
My file is not saved to the latest version and when executed in shell, it executes the old version. I see latest version of the file on the screen, but it executes the old version. When I checked the file next day it was showing the old version. Before I didn’t have this problem, for 3 months it working fine.
Also, what I started noticing is that my replit page in chrome started restarting itself from time to time, probably once every 10 min. It also never happened before.

Expected behavior:
When I write the code it autosaves and I always have the latest version of the file. Also, the replit page does not restarts on its own.

Actual behavior:
The file is not saved, even though I see the latest version of the file, it executes the last version in the shell. Day after, I only saw the old version of the file.

Steps to reproduce:
Open new .py file in intern/other. Put some script and try to execute it.

Bug appears at this link:


Hey @saidamir1!

Just click the next to “Files” then click “Show hidden files”. Next click on the .replit file and finally you can change the entrypoint to whatever file you want to run.

You can also change the second line from run="run_command_for_lang" to run="run_command_for_lang", though it won’t have an effect for languages with interpreters as shown in the comment on line 1.



Show hidden files


Also see the docs on how to configure a Repl:

Thanks, but how does it help saving my files? I don’t need to run main, I am running each .py file which I am developing using shell: python The little cloud which indicates whether my file is saved, is in constant loop and only saves if I refresh the page.

Hmm. That’s odd. Do you have a stable internet connection?

+1, I am also encountering this issue on replit today

1 Like

specifically, the code is changing and updating when I make updates, but it isn’t persisting when in web view. I even used a different browser/tried refreshing on mobile, and the changes aren’t showing up

Yes, I am able to work on my internet, doing my other development work. This problem persists for me in other places as well, not only in one place.

Hey @saidamir1 and @lbrendle!

I apologize for the delay on this. We have resolved this so please let me know if you are still seeing the issue

I am still having the same issue

Hey @MatthewGodwin1!

Can you please send me the link to your Repl and let me know which file is not being saved properly?