Skip to content

Commit

Permalink
Merge pull request #3 from MitsuhaKitsune/fix-special-paths
Browse files Browse the repository at this point in the history
Support paths with global pattern symbols
  • Loading branch information
Pupix authored Feb 23, 2018
2 parents f478782 + d9e4910 commit cfd22ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class LCUConnector extends EventEmitter {
}

const lockfilePath = path.join(this._dirPath, 'lockfile');
this._lockfileWatcher = chokidar.watch(lockfilePath);
this._lockfileWatcher = chokidar.watch(lockfilePath, { disableGlobbing: true });

this._lockfileWatcher.on('add', this._onFileCreated.bind(this));
this._lockfileWatcher.on('unlink', this._onFileRemoved.bind(this));
Expand Down

0 comments on commit cfd22ab

Please sign in to comment.