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
We have caching enabled for our PrismaClient generation task, because generating it takes about 2.5 minutes with our schema.
Our typecheck task depends on the generate task, but whenever I first run pnpm generate and then instantly follow it up with pnpm typecheck, it doesn't reuse the cache from the initial generate command.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
We have caching enabled for our PrismaClient generation task, because generating it takes about 2.5 minutes with our schema.
Our typecheck task depends on the generate task, but whenever I first run
pnpm generateand then instantly follow it up withpnpm typecheck, it doesn't reuse the cache from the initialgeneratecommand.So, in short:
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions