summaryrefslogtreecommitdiff
path: root/extension/src/activation/environmentSetup.ts
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-09-07 11:23:25 -0700
committerNate Sesti <sestinj@gmail.com>2023-09-07 11:23:25 -0700
commitd18cb9b12aa4f31e982bf3097cb8325f484e8607 (patch)
tree1092a638c00f8973350070df01025eac4349e539 /extension/src/activation/environmentSetup.ts
parent65887473f4c6711d2a64a087f835f86556c75dff (diff)
downloadsncontinue-d18cb9b12aa4f31e982bf3097cb8325f484e8607.tar.gz
sncontinue-d18cb9b12aa4f31e982bf3097cb8325f484e8607.tar.bz2
sncontinue-d18cb9b12aa4f31e982bf3097cb8325f484e8607.zip
style: :children_crossing: remove -h flag conflicting with help
Diffstat (limited to 'extension/src/activation/environmentSetup.ts')
-rw-r--r--extension/src/activation/environmentSetup.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index 4493a6af..3f82631f 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -194,7 +194,11 @@ export async function startContinuePythonServer(redownload: boolean = true) {
.getConfiguration("continue")
.get<boolean>("manuallyRunningServer") || false;
const serverUrl = getContinueServerUrl();
- if (serverUrl !== "http://localhost:65432" || manuallyRunningServer) {
+ if (
+ (serverUrl !== "http://localhost:65432" &&
+ serverUrl !== "http://127.0.0.1:65432") ||
+ manuallyRunningServer
+ ) {
console.log("Continue server is being run manually, skipping start");
return;
}