Merge branch 'main' of github.com:remy/nodemon

* 'main' of github.com:remy/nodemon:
  ci(release): workflow uses 'npm' cache (#1933)
  ci(node.js): workflow uses 'npm' cache (#1934)
  docs: Fix typo in faq.md (#1950)
This commit is contained in:
Remy Sharp
2021-11-19 16:18:41 +00:00
3 changed files with 4 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
cache: npm
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present

View File

@@ -16,8 +16,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
cache: npm
node-version: 14
- name: Install dependencies
run: npm ci

2
faq.md
View File

@@ -96,7 +96,7 @@ nodemon (from 1.4.2 onwards) uses [Chokidar](https://www.npmjs.com/package/choki
If you find your files aren't being monitored, either nodemon isn't restarting, or it reports that zero files are being watched, then you may need the polling mode.
To enable polling use the the legacy flag either via the terminal:
To enable polling use the legacy flag either via the terminal:
```shell
$ nodemon --legacy-watch