summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
authorJesper van den Ende <jespertheend@users.noreply.github.com>2023-10-06 23:33:14 +0200
committerGitHub <noreply@github.com>2023-10-06 23:33:14 +0200
commitbe7e2bd8c1883c6bf58db8ff40954ed7ee53b5c5 (patch)
tree9b435c7d0f4e81e4bc4d89303ce155639dbfdca2 /cli/args/flags.rs
parent48bb3b2b0f519077e1a454034fbbe79d9db23c4a (diff)
fix(cli): Support using both `--watch` and `--inspect` at the same time (#20660)
Fixes #20525
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r--cli/args/flags.rs7
1 files changed, 1 insertions, 6 deletions
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(