fix: only one socket connection via socketcontext

This commit is contained in:
Akhilesh Rangani
2024-08-23 20:09:54 -04:00
parent ae7ff3f46b
commit 2da60ff4e4
6 changed files with 111 additions and 84 deletions

View File

@ -44,7 +44,7 @@ export default function RunButtonModal({
"pip install -r requirements.txt && streamlit run main.py --server.runOnSave true"
);
} else {
createNewTerminal("yarn install && yarn start");
createNewTerminal("yarn install && yarn dev");
}
} else {
toast.error("You reached the maximum # of terminals.");