You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is by design or not, but it seems the caching doesn't take modifications of the code you're importing into account at all when calculating the hash.
I just had a problem where my Mocha tests (that are written in TypeScript, using -r ts-node/register) were still running just fine despite the fact that I'd changed the signature of the functions I was importing and testing.
With the cache disabled I got the compilation errors I was expecting.
If this is the intended behavior I would consider it somewhat dangerous to have the cache enabled by default.
The text was updated successfully, but these errors were encountered:
Not sure in which version this got fixed, but I had trouble with 9.1.1 release, I end up using --prefer-ts-exts=true which is skipping js cache and using ts files instead
Not sure if this is by design or not, but it seems the caching doesn't take modifications of the code you're importing into account at all when calculating the hash.
I just had a problem where my Mocha tests (that are written in TypeScript, using
-r ts-node/register
) were still running just fine despite the fact that I'd changed the signature of the functions I was importing and testing.With the cache disabled I got the compilation errors I was expecting.
If this is the intended behavior I would consider it somewhat dangerous to have the cache enabled by default.
The text was updated successfully, but these errors were encountered: