Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: run compiler in task #95

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Conversation

mhanberg
Copy link
Collaborator

@mhanberg mhanberg commented Jul 6, 2023

This lets the compiler stdout messgaes to be logged to the client while
the RPC is still happening.

Previously, the port would message back to the process that was
synchronously waiting on the RPC to finish, so it didn't send any log
messages to the LSP process until the compiler was done.

This made it look like the initial compiler was hanging.

Fixes #60

@mhanberg
Copy link
Collaborator Author

mhanberg commented Jul 6, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

Base automatically changed from 2023-07-05-separate-logger-process to main July 6, 2023 02:41
This lets the compiler stdout messgaes to be logged to the client while
the RPC is still happening.

Previously, the port would message back to the process that was
synchronously waiting on the RPC to finish, so it didn't send any log
messages to the LSP process until the compiler was done.

This made it look like the initial compiler was hanging.

Fixes #60
@mhanberg mhanberg force-pushed the 2023-07-05-run-compiler-in-task branch from f165b67 to af50c84 Compare July 6, 2023 02:42
@mhanberg mhanberg merged commit 96bfc76 into main Jul 6, 2023
10 checks passed
@mhanberg mhanberg deleted the 2023-07-05-run-compiler-in-task branch July 6, 2023 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

execute compiler rpc in a task
1 participant