Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

fix: run compiler in task#95

Merged
mhanberg merged 1 commit into
mainfrom
2023-07-05-run-compiler-in-task
Jul 6, 2023
Merged

fix: run compiler in task#95
mhanberg merged 1 commit into
mainfrom
2023-07-05-run-compiler-in-task

Conversation

@mhanberg

@mhanberg mhanberg commented Jul 6, 2023

Copy link
Copy Markdown
Collaborator

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 commented Jul 6, 2023

Copy link
Copy Markdown
Collaborator Author

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
@mhanberg
mhanberg deleted the 2023-07-05-run-compiler-in-task branch July 6, 2023 02:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

execute compiler rpc in a task

1 participant