From e36b38debfa1c172f69e8665c160b46967d745c7 Mon Sep 17 00:00:00 2001 From: Emmanuel Meric de Bellefon Date: Tue, 12 Jul 2022 08:52:14 +0200 Subject: [PATCH] docs: Update documentation about support for unix globbing (#2016) [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 830fef0d..2b5d255d 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ nodemon --watch app --watch libs app/server.js Now nodemon will only restart if there are changes in the `./app` or `./libs` directory. By default nodemon will traverse sub-directories, so there's no need in explicitly including sub-directories. -Don't use unix globbing to pass multiple directories, e.g `--watch ./lib/*`, it won't work. You need a `--watch` flag per directory watched. +Nodemon also supports unix globbing, e.g `--watch './lib/*'`. The globbing pattern must be quoted. ## Specifying extension watch list