Skip to content

Commit

Permalink
docs: Update documentation about support for unix globbing (#2016)
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
Exifers committed Jul 12, 2022
1 parent bb013f8 commit e36b38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e36b38d

Please sign in to comment.