NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7.32k stars 1.42k forks source link

Add a "watch mode" to compile task #891

Open frangio opened 4 years ago

frangio commented 4 years ago

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.)

fdietze commented 2 years ago

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

find contracts -iname '*.sol' | entr -cnr npx hardhat compile
valle-xyz commented 10 months ago

up