summaryrefslogtreecommitdiff
path: root/cli/args
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args')
-rw-r--r--cli/args/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index 927f43e85..f5ecc0449 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -1672,6 +1672,10 @@ impl CliOptions {
if let DenoSubcommand::Run(RunFlags {
watch: Some(WatchFlagsWithPaths { paths, .. }),
..
+ })
+ | DenoSubcommand::Serve(ServeFlags {
+ watch: Some(WatchFlagsWithPaths { paths, .. }),
+ ..
}) = &self.flags.subcommand
{
full_paths.extend(paths.iter().map(|path| self.initial_cwd.join(path)));