Module watchexec::config[][src]

Configuration for watchexec.

The Config struct is not constructable, use ConfigBuilder.

Examples

ConfigBuilder::default()
    .cmd(vec!["echo hello world".into()])
    .paths(vec![".".into()])
    .build()
    .expect("mission failed");

Structs

Config

Arguments to the watcher

ConfigBuilder

Builder for Config.

Enums

ConfigBuilderError

Error type for ConfigBuilder