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

How to disable caching behaviour? #26

Open
bennycode opened this issue Aug 28, 2024 · 1 comment
Open

How to disable caching behaviour? #26

bennycode opened this issue Aug 28, 2024 · 1 comment

Comments

@bennycode
Copy link
Contributor

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
Copy link

bonham commented Oct 29, 2024

I had same issue

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

2 participants