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

Cache invalidation API #281

Open
cspotcode opened this issue Aug 26, 2020 · 0 comments
Open

Cache invalidation API #281

cspotcode opened this issue Aug 26, 2020 · 0 comments

Comments

@cspotcode
Copy link

In ts-node, if someone modifies a .ts file, removes it from their require.cache, and then re-requires it, we will have a new sourcemap for that file. We need a way to invalidate that entry in your cache so that you re-retrieve it from us.

This issue is requesting a cache invalidation API. All we need is a function to call, passing the path of a file that you have previously requested from us, telling you to remove that entry from your cache.

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

No branches or pull requests

1 participant