evanw / evanw/node-source-map-support

Cache invalidation API

Aperta
#281 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2.2k
Fork
223
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.