Start development server when run button is clicked.

This commit is contained in:
James Murdza
2024-07-31 17:49:59 -07:00
parent a74f7bf71a
commit 6a31161c0a
3 changed files with 7 additions and 3 deletions

View File

@ -36,7 +36,7 @@ export default function RunButtonModal({
console.log('Opening Preview Window');
if (terminals.length < 4) {
createNewTerminal();
createNewTerminal("yarn install && yarn start");
} else {
toast.error("You reached the maximum # of terminals.");
console.error('Maximum number of terminals reached.');