Skip to content

Commit

Permalink
docs: add note to faq with example showing how to watch any file exte…
Browse files Browse the repository at this point in the history
…nsion (#1931)

Co-authored-by: p-mcgowan <mcgowanapat+git@gmail.com>

[skip ci]
  • Loading branch information
p-mcgowan committed Apr 29, 2022
1 parent bc4547b commit e890927
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions faq.md
Expand Up @@ -323,3 +323,11 @@ It's a security restriction of the Windows PowerShell.
1. Open up a powershell command window (open it as administrator)
2. To check out current restrictions type "Get-ExecutionPolicy"
3. Enable powershell by typing "Set-ExecutionPolicy remotesigned"

## How can I watch all file types in a folder?

To watch all file types, use `'*'`:

```bash
nodemon --ext '*' --watch public --exec 'python -m SimpleHTTPServer'
```

0 comments on commit e890927

Please sign in to comment.