How to use the sane/src/common.ALL_EVENT function in sane

To help you get started, we’ve selected a few sane examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Mayank1791989 / gql / src / gql-watcher / watcher / ChokidarWatcher.js View on Github external
_emit = (eventType: string, path: string, stat: ?fs.Stats) => {
    this.emit(eventType, path, this.root, stat);
    this.emit(common.ALL_EVENT, eventType, path, this.root, stat);
  };

sane

Sane aims to be fast, small, and reliable file system watcher.

MIT
Latest version published 3 years ago

Package Health Score

74 / 100
Full package analysis