hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Add a "watch mode" to compile task

Open frangio opened this issue 4 years ago • 2 comments

I would love to have a buidler compile --watch command that I can leave running in the background to recompile contracts when they change on disk.

I would use this to run tests in watch mode at the same time. (Side note: I don't use the built in buidler test command.)

frangio avatar Oct 16 '20 17:10 frangio

As a workaround, I'm using the tool entr for watching:

find contracts -iname '*.sol' | entr -cnr npx hardhat compile

fdietze avatar Jan 15 '22 13:01 fdietze

up

valle-xyz avatar Jan 04 '24 10:01 valle-xyz