Comparing version 0.8.0 to 0.8.1
@@ -0,1 +1,7 @@ | ||
# Chokidar 0.8.1 (16 December 2013) | ||
* Optional deps are now truly optional on windows and | ||
linux. | ||
* Rewritten in JS, again. | ||
* Fixed some FSEvents-related bugs. | ||
# Chokidar 0.8.0 (29 November 2013) | ||
@@ -2,0 +8,0 @@ * Added ultra-fast low-CPU OS X file watching with FSEvents. |
{ | ||
"name": "chokidar", | ||
"description": "A neat wrapper around node.js fs.watch / fs.watchFile.", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"keywords": [ | ||
@@ -27,12 +27,6 @@ "fs", | ||
], | ||
"main": "./lib/index", | ||
"scripts": { | ||
"prepublish": "node setup.js prepublish", | ||
"postpublish": "node setup.js postpublish", | ||
"test": "node setup.js test" | ||
"test": "./node_modules/.bin/mocha", | ||
"postinstall": "node setup-deps.js" | ||
}, | ||
"optionalDependencies": { | ||
"recursive-readdir": "0.0.2", | ||
"fsevents": "0.1.6" | ||
}, | ||
"devDependencies": { | ||
@@ -39,0 +33,0 @@ "mocha": "~1.7.3", |
@@ -19,6 +19,2 @@ # Chokidar | ||
Other node.js file watching solutions: | ||
* Super-slow / unreliable on OS X because they are using default node.js APIs | ||
Chokidar resolves these problems. | ||
@@ -65,3 +61,3 @@ | ||
// One-liner | ||
require('chokidar').watch('.', {ignored: /^\./}).on('all', function(event, path) { | ||
require('chokidar').watch('.', {ignored: /[\/\\]\./}).on('all', function(event, path) { | ||
console.log(event, path); | ||
@@ -89,7 +85,5 @@ }); | ||
polling for binary files (see extensions in src/is-binary). | ||
* `options.usePolling` (default: `false`). Whether to use fs.watchFile | ||
* `options.usePolling` (default: `false` on Linux and Windows, `true` on OS X). Whether to use fs.watchFile | ||
(backed by polling), or fs.watch. If polling leads to high CPU utilization, | ||
consider setting this to `false`. | ||
On OS X chokidar uses internal FSEvents API for watching files | ||
instead of `fs.watch`. | ||
@@ -96,0 +90,0 @@ `chokidar.watch()` produces an instance of `FSWatcher`. Methods of `FSWatcher`: |
Sorry, the diff of this file is not supported yet
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
0
702
33454
8
118
1
2