Skip to content

Commit

Permalink
Merge pull request #239 from pipobscure/chokidar
Browse files Browse the repository at this point in the history
Fixes for chokidar
  • Loading branch information
pipobscure authored Nov 10, 2018
2 parents fde2609 + 9de56ac commit 821b099
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fsevents.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Emitter extends EventEmitter {
}
Emitter.prototype[Symbol.toStringTag] = 'FSEventsEmitter';

module.exports = (path)=>new Emitter(path);
module.exports = function (path) { return new Emitter(path); }
module.exports.getInfo = getInfo;
module.exports.FSEvents = FSEvents;
module.exports.Constants = Native.Constants;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fsevents",
"version": "2.0.0",
"version": "2.0.1",
"description": "Native Access to Mac OS-X FSEvents",
"main": "fsevents.js",
"os": [
Expand All @@ -13,7 +13,7 @@
"clean": "node-gyp clean && rm -f fsevents.node",
"install": "[ -f fsevents.node ] || npm run prepare",
"test": "tap ./test",
"prepare": "node-gyp rebuild"
"prepare": "node-gyp rebuild && node-gyp clean"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 821b099

Please sign in to comment.