glob-watcher
Advanced tools
Comparing version 4.0.0 to 5.0.0
{ | ||
"name": "glob-watcher", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "Watch globs and execute a function upon change, with intelligent defaults for debouncing and queueing.", | ||
@@ -25,3 +25,3 @@ "author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)", | ||
"async-done": "^1.2.0", | ||
"chokidar": "^1.4.3", | ||
"chokidar": "^2.0.0", | ||
"just-debounce": "^1.0.0", | ||
@@ -41,2 +41,3 @@ "object.defaults": "^1.1.0" | ||
"mocha-lcov-reporter": "^1.2.0", | ||
"normalize-path": "^2.1.1", | ||
"rimraf": "^2.6.1", | ||
@@ -43,0 +44,0 @@ "through2": "^2.0.1" |
@@ -55,4 +55,6 @@ <p align="center"> | ||
Takes a path string, an array of path strings, a [glob][node-glob] string or an array of [glob][node-glob] strings as `globs` to watch on the filesystem. Also optionally takes `options` to configure the watcher and a `fn` to execute when a file changes. | ||
Takes a path string, an array of path strings, a [glob][micromatch] string or an array of [glob][micromatch] strings as `globs` to watch on the filesystem. Also optionally takes `options` to configure the watcher and a `fn` to execute when a file changes. | ||
__Note: As of 5.0.0, globs must use `/` as the separator character because `\\` is reserved for escape sequences (as per the Bash 4.3 & Micromatch specs). This means you can't use `path.join()` or `__dirname` in Windows environments. If you need to use `path.join()`, you can use [normalize-path][normalize-path] against your paths afterwards. If you need to use `__dirname`, you can set it as the `cwd` option that gets passed directly to [chokidar][chokidar]. The [micromatch docs][micromatch-backslashes] contain more information about backslashes.__ | ||
Returns an instance of [chokidar][chokidar]. | ||
@@ -116,2 +118,8 @@ | ||
[micromatch]: https://github.com/micromatch/micromatch | ||
[normalize-path]: https://www.npmjs.com/package/normalize-path | ||
[micromatch-backslashes]: https://github.com/micromatch/micromatch#backslashes | ||
[async-completion]: https://github.com/gulpjs/async-done#completion-and-error-resolution | ||
[chokidar]: https://github.com/paulmillr/chokidar | ||
[downloads-image]: http://img.shields.io/npm/dm/glob-watcher.svg | ||
@@ -132,5 +140,1 @@ [npm-url]: https://npmjs.com/package/glob-watcher | ||
[gitter-image]: https://badges.gitter.im/gulpjs/gulp.png | ||
[node-glob]: https://github.com/isaacs/node-glob | ||
[async-completion]: https://github.com/gulpjs/async-done#completion-and-error-resolution | ||
[chokidar]: https://github.com/paulmillr/chokidar |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9296
138
13
+ Addedanymatch@2.0.0(transitive)
+ Addedchokidar@2.1.8(transitive)
+ Addedglob-parent@3.1.0(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@3.1.04.0.3(transitive)
+ Addednormalize-path@3.0.0(transitive)
+ Addedpath-dirname@1.0.2(transitive)
+ Addedupath@1.2.0(transitive)
- Removedanymatch@1.3.2(transitive)
- Removedarr-diff@2.0.0(transitive)
- Removedarray-unique@0.2.1(transitive)
- Removedbraces@1.8.5(transitive)
- Removedchokidar@1.7.0(transitive)
- Removedexpand-brackets@0.1.5(transitive)
- Removedexpand-range@1.8.2(transitive)
- Removedextglob@0.3.2(transitive)
- Removedfilename-regex@2.0.1(transitive)
- Removedfill-range@2.2.4(transitive)
- Removedfor-own@0.1.5(transitive)
- Removedglob-base@0.3.0(transitive)
- Removedglob-parent@2.0.0(transitive)
- Removedis-dotfile@1.0.3(transitive)
- Removedis-equal-shallow@0.1.3(transitive)
- Removedis-extglob@1.0.0(transitive)
- Removedis-glob@2.0.1(transitive)
- Removedis-number@2.1.04.0.0(transitive)
- Removedis-posix-bracket@0.1.1(transitive)
- Removedis-primitive@2.0.0(transitive)
- Removedmath-random@1.0.4(transitive)
- Removedmicromatch@2.3.11(transitive)
- Removedobject.omit@2.0.1(transitive)
- Removedparse-glob@3.0.4(transitive)
- Removedpreserve@0.2.0(transitive)
- Removedrandomatic@3.1.1(transitive)
- Removedregex-cache@0.4.4(transitive)
Updatedchokidar@^2.0.0