tapjs / tsimp

https://tapjs.github.io/tsimp/
Other
508 stars 12 forks source link

How to disable caching behaviour? #26

Open bennycode opened 2 months ago

bennycode commented 2 months ago

I am using tsimp in various projects and I noticed that sometimes cached files of my code are being executed. In such cases I have to delete the .tsimp directory and run my code again.

Is there a way to disable the tsimp caching through an environment variable?

Here is my current workaround:

rimraf .tsimp && TSIMP_DIAG=error node --import=tsimp/import ./src/start.ts

My Node.js version is 20.10.0.

bonham commented 1 week ago

I had same issue