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
This library is really useful. It's like a missing piece to my REPL setup that allows me to reload code on filesystem events. I recently moved my code to esm using node's new type: module field in package.json. I'm also using ts-node which has WIP support for esm code loading.
The issue is that in my setup with latest node and esm, decache apparently doesn't work. Would it help to provide a code sandbox demo? I realize it could very well be ts-node or another piece of the puzzle not working. 🤔
to clarify: I'm also using typescript lol. And instead of require I write import (kinda obvious but just want to make sure we're on the same page here)
The text was updated successfully, but these errors were encountered:
This library is really useful. It's like a missing piece to my REPL setup that allows me to reload code on filesystem events. I recently moved my code to esm using node's new
type: module
field in package.json. I'm also using ts-node which has WIP support for esm code loading.The issue is that in my setup with latest node and esm, decache apparently doesn't work. Would it help to provide a code sandbox demo? I realize it could very well be ts-node or another piece of the puzzle not working. 🤔
to clarify: I'm also using typescript lol. And instead of
require
I writeimport
(kinda obvious but just want to make sure we're on the same page here)The text was updated successfully, but these errors were encountered: