Skip to main content

Module watch

Module watch 

Source

Structsยง

WatchArgs

Enumsยง

KeyboardAction ๐Ÿ”’

Functionsยง

clean_cmd_args ๐Ÿ”’
cmd_args ๐Ÿ”’
Returns the env args without the --watch flag from the args for the Watchexec command
end_of_process ๐Ÿ”’
keyboard_action ๐Ÿ”’
run
Runs the given [watchexec::Config].
run_inner ๐Ÿ”’
set_keyboard_events ๐Ÿ”’
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 affecting the generated documentation: project sources, optionally library sources, the README that becomes the homepage, the deployments directory, and the foundry config file itself. Without these, the live preview goes silently stale on common edits.
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ยง

KeyboardConfig ๐Ÿ”’
SpawnHook ๐Ÿ”’