don't kill server if not redownload

This commit is contained in:
Nate Sesti 2023-08-23 23:18:50 -07:00
parent f9c145c966
commit e5b7e4f93c

View file

@ -170,7 +170,7 @@ export async function startContinuePythonServer(redownload: boolean = true) {
}
// Check if server is already running
if (await checkOrKillRunningServer(serverUrl)) {
if (redownload && (await checkOrKillRunningServer(serverUrl))) {
console.log("Continue server already running");
return;
}