restart on error
ragnork

My repl is a discord bot the fetches from an api, and i would prefer not to have to restart it every time someone makes a spelling mistake, so is there a way to have my repl restart on an error

You are viewing a single comment. View All
LukeC1

i tried changing run to "while true; do npm start; sleep 2; done" and it seems to be working @Highwayman