You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do you do hot reloading in Deno? I suspect that hot reloading is possibly not reloading the NAPI module or getting the reference incorrectly, but not sure how to reproduce.
Ok, thank you. I believe this actually appears to be a bug in Deno. lmdb-js uses two the NAPI modules (one for lmdb and one for msgpackr) and it is returning the wrong one after reloading (it is probably caching a single/last NAPI module). We should probably come up with a more isolated test case to submit to Deno. In the meantime you can set this env variable to disable the msgpackr NAPI module MSGPACKR_NATIVE_ACCELERATION_DISABLED=true.
This issue happens during local development with Deno.
Hot reloading is enabled. When a file is changed, the program stops working until I manually kill and restart the server:
https://github.com/kriszyp/lmdb-js/blob/master/read.js#L8
The text was updated successfully, but these errors were encountered: