Skip to content

Commit 242f9f7

Browse files
committed
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)
2 parents 141e58c + 53422af commit 242f9f7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- name: Use Node.js ${{ matrix.node-version }}
2525
uses: actions/setup-node@v2
2626
with:
27+
cache: npm
2728
node-version: ${{ matrix.node-version }}
2829
- run: npm ci
2930
- run: npm run build --if-present

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v1
1818
- name: Setup Node.js
19-
uses: actions/setup-node@v1
19+
uses: actions/setup-node@v2
2020
with:
21+
cache: npm
2122
node-version: 14
2223
- name: Install dependencies
2324
run: npm ci

faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ nodemon (from 1.4.2 onwards) uses [Chokidar](https://www.npmjs.com/package/choki
9696

9797
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.
9898

99-
To enable polling use the the legacy flag either via the terminal:
99+
To enable polling use the legacy flag either via the terminal:
100100

101101
```shell
102102
$ nodemon --legacy-watch

0 commit comments

Comments
 (0)