diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f4420f9..fc3c3ed 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 172d427..d2827c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/faq.md b/faq.md index f782f26..b15e532 100644 --- a/faq.md +++ b/faq.md @@ -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