Permalink
Browse files

Release 0.2.2.

  • Loading branch information...
1 parent 3cbf2b1 commit accb13c6f91cdbd58c0800e75c2511676a4dfada @paulmillr committed May 4, 2012
Showing with 5 additions and 2 deletions.
  1. +3 −0 CHANGELOG.md
  2. +1 −1 lib/index.js
  3. +1 −1 package.json
View
@@ -1,3 +1,6 @@
+# Chokidar 0.2.2 (May 4, 2012)
+* Fixed watcher signature.
+
# Chokidar 0.2.1 (May 4, 2012)
* Fixed invalid API bug when using `watch()`.
View
@@ -193,6 +193,6 @@ FSWatcher.prototype.close = function() {
return this;
};
-exports.watch = function(options) {
+exports.watch = function(files, options) {
return new FSWatcher(options).add(files);
};
View
@@ -1,7 +1,7 @@
{
"name": "chokidar",
"description": "A neat wrapper around node.js fs.watch / fs.watchFile.",
- "version": "0.2.1",
+ "version": "0.2.2",
"keywords": ["fs", "watch", "watchFile", "watcher", "file"],
"homepage": "https://github.com/paulmillr/chokidar",
"author": "Paul Miller (http://paulmillr.com)",

0 comments on commit accb13c

Please sign in to comment.