mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
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:
1
.github/workflows/node.js.yml
vendored
1
.github/workflows/node.js.yml
vendored
@@ -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
|
||||
|
||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -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
2
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
|
||||
|
||||
Reference in New Issue
Block a user