Skip to content

Comments

store IPC messages before connection#774

Open
giuseppelt wants to merge 1 commit intoprivatenumber:masterfrom
giuseppelt:giuseppelt-patch-1
Open

store IPC messages before connection#774
giuseppelt wants to merge 1 commit intoprivatenumber:masterfrom
giuseppelt:giuseppelt-patch-1

Conversation

@giuseppelt
Copy link

In the new node v24, I found out the IPC messages are lost as the IPC connection is yet to be setup/connected.
This is maybe due to a different import/load order strategy in node.

Anyway, a simple fix was to just cache the messages and replay them when the connection is established.

This fixes the "watch doesn't restart on changes".
Solves #767

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.

1 participant