Skip to content

Commit

Permalink
fix - Language server is not correctly started (#1539)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaaming authored Jul 31, 2024
1 parent 1db6ee4 commit 702d1cc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ public static void main(String[] args) throws Exception {
int taskServerPort = Integer.parseInt(Utils.validateRequiredParam(params, "port"));
startTaskServerThread(taskServerPort);

String languageServerPipePath = Utils.validateRequiredParam(params, "languageServerPipePath");
startLanguageServerThread(languageServerPipePath);

boolean startBuildServer = Boolean.parseBoolean(Utils.validateRequiredParam(params, "startBuildServer"));
if (startBuildServer) {
String buildServerPipeName = Utils.validateRequiredParam(params, "pipeName");
String bundleDirectory = Utils.validateRequiredParam(params, "bundleDir");
String languageServerPipePath = Utils.validateRequiredParam(params, "languageServerPipePath");
startBuildServerThread(buildServerPipeName, bundleDirectory);
startLanguageServerThread(languageServerPipePath);
}
}

Expand Down

0 comments on commit 702d1cc

Please sign in to comment.