Module watch

Source

Structs§

WatchArgs

Functions§

clean_cmd_args 🔒
cmd_args 🔒
Returns the env args without the --watch flag from the args for the Watchexec command
end_of_process 🔒
run
Runs the given [watchexec::Config].
setup_process 🔒
watch_build
Executes a [Watchexec] that listens for changes in the project’s src dir and reruns forge build
watch_command 🔒
Converts a list of arguments to a watchexec::Command.
watch_coverage
watch_doc
Executes a [Watchexec] that listens for changes in the project’s sources directory
watch_fmt
watch_gas_snapshot
Executes a [Watchexec] that listens for changes in the project’s src dir and reruns forge snapshot
watch_test
Executes a [Watchexec] that listens for changes in the project’s src dir and reruns forge test

Type Aliases§

SpawnHook 🔒