hardhat-fe
hardhat-fe copied to clipboard
feat: cache for compile task
right now, it will compile all Fe contract files every time with npx hardhat compile, need a cache mechanism for eliminate redundant compiling process.
What do you imagine the solution to this looking like? Where in the stack does it live?
@with-heart I think a dispatcher to memorize last modified timestamp of each contract file will do the rescue :)
https://github.com/NomicFoundation/hardhat/blob/master/packages/hardhat-vyper/src/cache.ts#L28