lambda-local
lambda-local copied to clipboard
Enable ESM+watch and add test
Closes #239
@ashiina Would be great to get this merged. We need esm for watch also.
Please please please :pray: We would love this.
@ashiina can we get this reviewed? 🙏
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: https://github.com/nodejs/node/issues/49442