From be7e2bd8c1883c6bf58db8ff40954ed7ee53b5c5 Mon Sep 17 00:00:00 2001 From: Jesper van den Ende Date: Fri, 6 Oct 2023 23:33:14 +0200 Subject: fix(cli): Support using both `--watch` and `--inspect` at the same time (#20660) Fixes #20525 --- cli/args/flags.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cli/args') diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 40aa7b8e3..66981b239 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -1828,12 +1828,7 @@ fn repl_subcommand() -> Command { fn run_subcommand() -> Command { runtime_args(Command::new("run"), true, true) .arg(check_arg(false)) - .arg( - watch_arg(true) - .conflicts_with("inspect") - .conflicts_with("inspect-wait") - .conflicts_with("inspect-brk"), - ) + .arg(watch_arg(true)) .arg(no_clear_screen_arg()) .arg(executable_ext_arg()) .arg( -- cgit v1.2.3