Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chokidar-cli

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chokidar-cli - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

index.js

@@ -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:

@@ -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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc