evanw / evanw/node-source-map-support

Cache invalidation API

Offen
#281 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2.2k
Forks
223
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.