How to use the sane/src/common.ADD_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
_handleAdd = (path: string, stat: ?fs.Stats) => {
    this._emit(common.ADD_EVENT, path, 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