Skip to content
← Back to Community
How to Avoid Run Button Lag (And Make your REPLS faster⚡)
Profile icon
PowerCoder

When you hit the run button, Repl.it might do some unnecessary things. Like re-compile your entire projects when you might not need that. It also might re-save your project which might make your REPL a little slow.

To avoid this, create a bash REPL. And insert your project there. When someone hits the run button on your project, it'll run the bash REPL. So, you have complete control over what the run button does.

Voters
Profile icon
PhillipPhan3
Profile icon
matthewproskils
Profile icon
PowerCoder
Comments
hotnewtop
Profile icon
MrLebah12

How do I create a bash repl?

Profile icon
PowerCoder

@MrLebah12

screenshot_20210622_114206

Profile icon
SeamusDonahue

just make a .replit

Profile icon
PowerCoder
Profile icon
CodeLongAndPros

Uhh, there is the replit rc file.

echo "run=\"make run\"" > .replit