You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,13 @@ The underlying watch library is [Chokidar](https://github.com/paulmillr/chokidar
19
19
> and [many others](https://www.npmjs.org/browse/depended/chokidar/).
20
20
> It has proven itself in production environments.
21
21
22
-
## Pre-requisites
22
+
## Prerequisites
23
23
24
-
- Node.js v8.0.0 or newer
24
+
- Node.js v8.10.0 or newer
25
25
26
26
## Install
27
27
28
-
If you need it only with NPM scripts:
28
+
If you need it only with npm scripts:
29
29
30
30
```bash
31
31
npm install chokidar-cli
@@ -45,10 +45,9 @@ Arguments use the form of runtime flags with string parameters, delimited by quo
45
45
46
46
This is particularly important when using chokidar-cli for run scripts specified in `package.json`. For maximum platform compatibility, make sure to use escaped double quotes around chokidar's parameters:
47
47
48
-
```
48
+
```json
49
49
"run": {
50
-
"chokidar": "chokidar \"**/*.js\" -c \"...\"",
51
-
...
50
+
"chokidar": "chokidar \"**/*.js\" -c \"...\""
52
51
},
53
52
```
54
53
@@ -117,7 +116,7 @@ Options:
117
116
-i, --ignore Pattern for files which should be ignored. Needs to be
118
117
surrounded with quotes to prevent shell globbing. The
119
118
whole relative or absolute path is tested, not just
0 commit comments