Run a replit apart from Main

Hey @RIBAMILTOMBEZER, welcome to the community!

Just click the three dots 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 main.file_type" to run="run_command_for_lang fileIWantToRun.file_type", though it won’t have an effect for interpreted languages as shown in the comment on line 1.

Images

Dots

Show hidden files

edited

1 Like