api documentation for chokidar (v1.6.1)

A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.

table of contents

  1. module chokidar
    1. function chokidar.FSWatcher (_opts)
    2. function chokidar.fsevents_handler ()
    3. function chokidar.nodefs_handler ()
    4. function chokidar.watch (paths, options)
    5. object chokidar.FSWatcher.prototype
    6. object chokidar.fsevents_handler.prototype
    7. object chokidar.index
    8. object chokidar.nodefs_handler.prototype
  2. module chokidar.FSWatcher
    1. function chokidar.FSWatcher (_opts)
    2. function chokidar.FSWatcher.super_ ()
  3. module chokidar.FSWatcher.prototype
    1. function chokidar.FSWatcher.prototype._addToNodeFs (path, initialAdd, priorWh, depth, target, callback)
    2. function chokidar.FSWatcher.prototype._awaitWriteFinish (path, threshold, event, awfEmit)
    3. function chokidar.FSWatcher.prototype._closePath (path)
    4. function chokidar.FSWatcher.prototype._emit (event, path, val1, val2, val3)
    5. function chokidar.FSWatcher.prototype._getWatchHelpers (path, depth)
    6. function chokidar.FSWatcher.prototype._getWatchedDir (directory)
    7. function chokidar.FSWatcher.prototype._handleDir (dir, stats, initialAdd, depth, target, wh, callback)
    8. function chokidar.FSWatcher.prototype._handleError (error)
    9. function chokidar.FSWatcher.prototype._handleFile (file, stats, initialAdd, callback)
    10. function chokidar.FSWatcher.prototype._handleSymlink (entry, directory, path, item)
    11. function chokidar.FSWatcher.prototype._hasReadPermissions (stats)
    12. function chokidar.FSWatcher.prototype._isIgnored (path, stats)
    13. function chokidar.FSWatcher.prototype._remove (directory, item)
    14. function chokidar.FSWatcher.prototype._throttle (action, path, timeout)
    15. function chokidar.FSWatcher.prototype._watchWithNodeFs (path, listener)
    16. function chokidar.FSWatcher.prototype.add (paths, _origAdd, _internal)
    17. function chokidar.FSWatcher.prototype.close ()
    18. function chokidar.FSWatcher.prototype.getWatched ()
    19. function chokidar.FSWatcher.prototype.unwatch (paths)
  4. module chokidar.fsevents_handler
    1. function chokidar.fsevents_handler ()
    2. function chokidar.fsevents_handler.canUse ()
  5. module chokidar.fsevents_handler.prototype
    1. function chokidar.fsevents_handler.prototype._addToFsEvents (path, transform, forceAdd, priorDepth)
    2. function chokidar.fsevents_handler.prototype._handleFsEventsSymlink (linkPath, fullPath, transform, curDepth)
    3. function chokidar.fsevents_handler.prototype._watchWithFsEvents (watchPath, realPath, transform, globFilter)
  6. module chokidar.index
    1. function chokidar.index.FSWatcher (_opts)
    2. function chokidar.index.watch (paths, options)
  7. module chokidar.nodefs_handler
    1. function chokidar.nodefs_handler ()
  8. module chokidar.nodefs_handler.prototype
    1. function chokidar.nodefs_handler.prototype._addToNodeFs (path, initialAdd, priorWh, depth, target, callback)
    2. function chokidar.nodefs_handler.prototype._handleDir (dir, stats, initialAdd, depth, target, wh, callback)
    3. function chokidar.nodefs_handler.prototype._handleFile (file, stats, initialAdd, callback)
    4. function chokidar.nodefs_handler.prototype._handleSymlink (entry, directory, path, item)
    5. function chokidar.nodefs_handler.prototype._watchWithNodeFs (path, listener)

module chokidar

function chokidar.FSWatcher (_opts)

function chokidar.fsevents_handler ()

function chokidar.nodefs_handler ()

function chokidar.watch (paths, options)

module chokidar.FSWatcher

function chokidar.FSWatcher (_opts)

function chokidar.FSWatcher.super_ ()

module chokidar.FSWatcher.prototype

function chokidar.FSWatcher.prototype._addToNodeFs (path, initialAdd, priorWh, depth, target, callback)

function chokidar.FSWatcher.prototype._awaitWriteFinish (path, threshold, event, awfEmit)

function chokidar.FSWatcher.prototype._closePath (path)

function chokidar.FSWatcher.prototype._emit (event, path, val1, val2, val3)

function chokidar.FSWatcher.prototype._getWatchHelpers (path, depth)

function chokidar.FSWatcher.prototype._getWatchedDir (directory)

function chokidar.FSWatcher.prototype._handleDir (dir, stats, initialAdd, depth, target, wh, callback)

function chokidar.FSWatcher.prototype._handleError (error)

function chokidar.FSWatcher.prototype._handleFile (file, stats, initialAdd, callback)

function chokidar.FSWatcher.prototype._handleSymlink (entry, directory, path, item)

function chokidar.FSWatcher.prototype._hasReadPermissions (stats)

function chokidar.FSWatcher.prototype._isIgnored (path, stats)

function chokidar.FSWatcher.prototype._remove (directory, item)

function chokidar.FSWatcher.prototype._throttle (action, path, timeout)

function chokidar.FSWatcher.prototype._watchWithNodeFs (path, listener)

function chokidar.FSWatcher.prototype.add (paths, _origAdd, _internal)

function chokidar.FSWatcher.prototype.close ()

function chokidar.FSWatcher.prototype.getWatched ()

function chokidar.FSWatcher.prototype.unwatch (paths)

module chokidar.fsevents_handler

function chokidar.fsevents_handler ()

function chokidar.fsevents_handler.canUse ()

module chokidar.fsevents_handler.prototype

function chokidar.fsevents_handler.prototype._addToFsEvents (path, transform, forceAdd, priorDepth)

function chokidar.fsevents_handler.prototype._handleFsEventsSymlink (linkPath, fullPath, transform, curDepth)

function chokidar.fsevents_handler.prototype._watchWithFsEvents (watchPath, realPath, transform, globFilter)

module chokidar.index

function chokidar.index.FSWatcher (_opts)

function chokidar.index.watch (paths, options)

module chokidar.nodefs_handler

function chokidar.nodefs_handler ()

module chokidar.nodefs_handler.prototype

function chokidar.nodefs_handler.prototype._addToNodeFs (path, initialAdd, priorWh, depth, target, callback)

function chokidar.nodefs_handler.prototype._handleDir (dir, stats, initialAdd, depth, target, wh, callback)

function chokidar.nodefs_handler.prototype._handleFile (file, stats, initialAdd, callback)

function chokidar.nodefs_handler.prototype._handleSymlink (entry, directory, path, item)

function chokidar.nodefs_handler.prototype._watchWithNodeFs (path, listener)

[ this document was created with utility2 ]