Getting prompted to Run the Repl, even though it's already running

Bug description: My Replit project is running. But whenever I refresh the page, it says Run when it’s already running. If I were to click the Run button, it would run the project twice (without killing the one that is already running). I believe that it should show the logs of the project that is already running; however, it prompts you to run the Repl to see the output (as if it weren’t running): Results of your code will appear here when you > Run the project.. The new Console UI has this issue.

Expected vs Current Behavior:

Steps to reproduce:

Bug appears at this link:[@Username]/[ReplName] (on Repls YOU own AND can edit.)

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0

Replit Profile:

1 Like


Thank you for the gif attachment, but can you create a screen share of the issue where you see it running twice? I will then recreate the issue and send to engineering if needed. Thanks!

Hi there. Here’s what’s happening: (ignore the Teams window.)

To be 100% clear, in this example you run a project that opens a port. You refresh and then re-run the project, it then says that the port is still open?

Right, because the program wasn’t terminated. It is running a second instance of the same program, that’s what’s causing the issue. It doesn’t show the original instance in the Console or somewhere else. Nowhere. It just creates another instance.

have you used a deployment? Can you try typing in kill 1 into the shell to restart the repl?

No, I haven’t used any Deployment. kill 1 works; however, running the Repl and reloading the page, the Console will read, Results of your code will appear here when you > Run the project., when it’s already running.

1 Like