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(dev): pass listener interface to the listen hook #120

Merged
merged 2 commits into from
Aug 29, 2023
Merged

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Aug 29, 2023

resolves #117

Since we now listen on the main process, this PR makes modules that depend on listen hook keep working.

Note: This is not a stable solution. Modules should not depend deeply on internal server listeners.


Verified on tailwind module:

image

@pi0 pi0 marked this pull request as ready for review August 29, 2023 22:26
@pi0
Copy link
Member Author

pi0 commented Aug 29, 2023

Merging to move forward quickly and introduce hotfix. Internally we need to revise listen hook usage behavior in the next steps.

@pi0 pi0 changed the title fix(dev): pass an emulated listener to listen hook fix(dev): pass listener interface to the listen hook Aug 29, 2023
@pi0 pi0 merged commit 931a7e9 into main Aug 29, 2023
2 checks passed
@pi0 pi0 deleted the fix/listener-url branch August 29, 2023 22:30
Copy link
Member

atinux commented Aug 30, 2023

Happy to release as 3.7.3?

@pi0
Copy link
Member Author

pi0 commented Aug 30, 2023

Released in v3.7.3

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.

[Hooks] listen does not send the listener as 2nd arg
2 participants