From 158f800f117b9fbd1f084fcd55e6b5f7b1a56cde Mon Sep 17 00:00:00 2001 From: mbandizzle Date: Wed, 22 Jan 2025 16:00:00 -0800 Subject: [PATCH] Clarify that `paths` aren't a comma-delimited list `paths` are either an array of file globbing paths, or any number of string globbing args --- usage/watch-command.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usage/watch-command.md b/usage/watch-command.md index 6877f84a..7545c36e 100644 --- a/usage/watch-command.md +++ b/usage/watch-command.md @@ -30,7 +30,7 @@ If your watcher seems slow, unresponsive, or is failing to notice some file chan ### Parameters -* `paths` - Comma-delimited list of file globbing paths to watch relative to the working directory, defaults to \*\* +* `paths` - An array of file globbing paths, or any number of string globbing arguments to watch relative to the working directory, defaults to \*\* * `excludePaths` - Comma-delimited list of file globbing paths to exclude relative to the working directory. * `command` - The command to run when the watcher fires * `delay` - How may milliseconds to wait before polling for changes, defaults to 500 ms