echo"this may take a while when you first compile the proxy, or when the proxy has to be recompiled (usually due to modification of anything in the src folder, including config.ts)"
echo"after the initial compile, startups will be a lot more faster and snappier"
set +e
cd ~/$REPL_SLUG/replit_runtime
node ./index.js
exit_code=$?
if[$exit_code -eq 0];then
set -e
echo"detected that recompilation is not required, skipping and directly launching..."