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
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