chokidar-cli
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -162,3 +162,3 @@ #!/usr/bin/env node | ||
}; | ||
if (opts.ignore) chokidarOpts.ignore = opts.ignore; | ||
if (opts.ignore) chokidarOpts.ignored = opts.ignore; | ||
@@ -165,0 +165,0 @@ return chokidarOpts; |
{ | ||
"name": "chokidar-cli", | ||
"description": "Ultra-fast cross-platform command line utility to watch file system changes.", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"keywords": [ | ||
@@ -35,3 +35,3 @@ "fs", | ||
"bluebird": "^2.9.24", | ||
"chokidar": "https://registry.npmjs.org/chokidar/-/chokidar-1.0.1.tgz", | ||
"chokidar": "^1.0.1", | ||
"lodash": "^3.7.0", | ||
@@ -38,0 +38,0 @@ "shell-quote": "^1.4.3", |
@@ -5,3 +5,3 @@ # Chokidar CLI | ||
Ultra-fast cross-platform command line utility to watch file system changes. | ||
Fast cross-platform command line utility to watch file system changes. | ||
@@ -8,0 +8,0 @@ The underlying watch library is [Chokidar](https://github.com/paulmillr/chokidar), which is one of the best watch utilities for Node. Chokidar is battle-tested: |
10
utils.js
@@ -23,3 +23,4 @@ var childProcess = require('child_process'); | ||
child = childProcess.spawn(_.head(parts), _.tail(parts), { | ||
cwd: opts.cwd | ||
cwd: opts.cwd, | ||
stdio: opts.pipe ? "inherit" : null | ||
}); | ||
@@ -31,9 +32,2 @@ } catch (e) { | ||
// TODO: Is there a chance of locking/waiting forever? | ||
if (opts.pipe) { | ||
child.stdin.pipe(process.stdin); | ||
child.stdout.pipe(process.stdout); | ||
child.stderr.pipe(process.stderr); | ||
} | ||
return new Promise(function(resolve, reject) { | ||
@@ -40,0 +34,0 @@ child.on('error', function(err) { |
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
23346
471
+ Addedarr-diff@4.0.0(transitive)
+ Addedarr-union@3.1.0(transitive)
+ Addedarray-unique@0.3.2(transitive)
+ Addedassign-symbols@1.0.0(transitive)
+ Addedasync-each@1.0.6(transitive)
+ Addedatob@2.1.2(transitive)
+ Addedbase@0.11.2(transitive)
+ Addedbindings@1.5.0(transitive)
+ Addedbraces@2.3.2(transitive)
+ Addedcache-base@1.0.1(transitive)
+ Addedchokidar@1.7.0(transitive)
+ Addedclass-utils@0.3.6(transitive)
+ Addedcollection-visit@1.0.0(transitive)
+ Addedcomponent-emitter@1.3.1(transitive)
+ Addedcopy-descriptor@0.1.1(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addeddecode-uri-component@0.2.2(transitive)
+ Addeddefine-property@0.2.51.0.02.0.2(transitive)
+ Addedexpand-brackets@2.1.4(transitive)
+ Addedextend-shallow@2.0.13.0.2(transitive)
+ Addedextglob@2.0.4(transitive)
+ Addedfile-uri-to-path@1.0.0(transitive)
+ Addedfill-range@4.0.0(transitive)
+ Addedfragment-cache@0.2.1(transitive)
+ Addedfsevents@1.2.13(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-value@2.0.6(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-value@0.3.11.0.0(transitive)
+ Addedhas-values@0.1.41.0.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-accessor-descriptor@1.0.1(transitive)
+ Addedis-data-descriptor@1.0.1(transitive)
+ Addedis-descriptor@0.1.71.0.3(transitive)
+ Addedis-extendable@1.0.1(transitive)
+ Addedis-number@3.0.0(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedisobject@3.0.1(transitive)
+ Addedkind-of@4.0.0(transitive)
+ Addedmap-cache@0.2.2(transitive)
+ Addedmap-visit@1.0.0(transitive)
+ Addedmicromatch@3.1.10(transitive)
+ Addedmixin-deep@1.3.2(transitive)
+ Addedms@2.0.0(transitive)
+ Addednanomatch@1.2.13(transitive)
+ Addedobject-copy@0.1.0(transitive)
+ Addedobject-visit@1.0.1(transitive)
+ Addedobject.pick@1.3.0(transitive)
+ Addedpascalcase@0.1.1(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedposix-character-classes@0.1.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedreaddirp@2.2.1(transitive)
+ Addedregex-not@1.0.2(transitive)
+ Addedresolve-url@0.2.1(transitive)
+ Addedret@0.1.15(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsafe-regex@1.1.0(transitive)
+ Addedset-value@2.0.1(transitive)
+ Addedsnapdragon@0.8.2(transitive)
+ Addedsnapdragon-node@2.1.1(transitive)
+ Addedsnapdragon-util@3.0.1(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedsource-map-resolve@0.5.3(transitive)
+ Addedsource-map-url@0.4.1(transitive)
+ Addedsplit-string@3.1.0(transitive)
+ Addedstatic-extend@0.1.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedto-object-path@0.3.0(transitive)
+ Addedto-regex@3.0.2(transitive)
+ Addedto-regex-range@2.1.1(transitive)
+ Addedunion-value@1.0.1(transitive)
+ Addedunset-value@1.0.0(transitive)
+ Addedurix@0.1.0(transitive)
+ Addeduse@3.1.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
- Removedarrify@1.0.1(transitive)
- Removedasync-each@0.1.6(transitive)
- Removedchokidar@1.0.1(transitive)
- Removedfsevents@0.3.8(transitive)
- Removedglob-parent@1.3.0(transitive)
- Removedgraceful-fs@4.1.15(transitive)
- Removedis-glob@1.1.3(transitive)
- Removedisarray@0.0.1(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedminimatch@0.2.14(transitive)
- Removedreadable-stream@1.0.34(transitive)
- Removedreaddirp@1.4.0(transitive)
- Removedsigmund@1.0.1(transitive)
- Removedstring_decoder@0.10.31(transitive)
Updatedchokidar@^1.0.1