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

Enable ESM+watch and add test #241

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

micaww
Copy link

@micaww micaww commented Oct 14, 2023

Closes #239

@savvyintegrations
Copy link

@ashiina Would be great to get this merged. We need esm for watch also.

@goce-cz
Copy link

goce-cz commented Jan 20, 2024

Please please please 🙏 We would love this.

@micaww
Copy link
Author

micaww commented Jan 20, 2024

@ashiina can we get this reviewed? 🙏

@tdanecker
Copy link
Contributor

I contributed the ESM support and didn't add watch mode, as it seems there's currently no way to unload the previously imported code. Even though just running it as you did technically works, it would just take up more and more memory.

See the discussion here: nodejs/node#49442

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.

Watch mode on ESM
4 participants