Added warning on using --watch when a log file is present nearby any watched files.

This commit is contained in:
Filipe Rodrigues 2023-12-04 21:10:16 +00:00
parent 475eb3c39d
commit 2e53661bbd

View File

@ -43,7 +43,12 @@ pub struct Args {
#[clap(long = "ignore-missing", short = 'i')]
pub ignore_missing: bool,
/// Watch for file changes and rebuild any necessary targets
/// Watch for file changes and rebuild any necessary targets.
///
/// WARNING: If the log file is situated in the same directory as any watched
/// file, and you're logging at level trace, the log file will grow
/// immensely fast, as each logged line will result in another after
/// the watcher debouncer.
#[clap(long = "watch", short = 'w')]
pub watch: bool,